public static string NextString(
this Random random,
int length,
StringCreation strategy = StringCreation.Ascii
)<ExtensionAttribute>
Public Shared Function NextString (
random As Random,
length As Integer,
Optional strategy As StringCreation = StringCreation.Ascii
) As Stringpublic:
[ExtensionAttribute]
static String^ NextString(
Random^ random,
int length,
StringCreation strategy = StringCreation::Ascii
)[<ExtensionAttribute>]
static member NextString :
random : Random *
length : int *
?strategy : StringCreation
(* Defaults:
let _strategy = defaultArg strategy StringCreation.Ascii
*)
-> string | ArgumentNullException | random is . |
| ArgumentOutOfRangeException | length is less than 0
-or- strategy is not a valid value of StringCreation. |