Cuemon .NET Framework
CreateRandomString(Int32,String[]) Method

The length of the random string to generate.
The values to use in the randomization process.
Generates a random string with the specified length from the provided values.
Syntax
'Declaration
 
Public Overloads Shared Function CreateRandomString( _
   ByVal length As Integer, _
   ByVal ParamArray values() As String _
) As String
public static string CreateRandomString( 
   int length,
   params string[] values
)

Parameters

length
The length of the random string to generate.
values
The values to use in the randomization process.

Return Value

A random string from the values provided.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StringUtility Class
StringUtility Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback