StringValues.ToArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a string array from the current StringValues object.
public:
cli::array <System::String ^> ^ ToArray();
public string?[] ToArray ();
member this.ToArray : unit -> string[]
Public Function ToArray () As String()
Returns
String[]
A string array represented by this instance.
Remarks
If the StringValues contains a single string internally, it is copied to a new array.
If the StringValues contains an array internally it returns that array instance.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.