Deli z drugimi prek


StringValues.ToArray Method

Definition

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