Freigeben über


StringValues Constructors

Definition

Overloads

StringValues(String)

Initializes a new instance of the StringValues structure using the specified string.

StringValues(String[])

Initializes a new instance of the StringValues structure using the specified array of strings.

StringValues(String)

Source:
StringValues.cs
Source:
StringValues.cs

Initializes a new instance of the StringValues structure using the specified string.

public:
 StringValues(System::String ^ value);
public StringValues (string? value);
new Microsoft.Extensions.Primitives.StringValues : string -> Microsoft.Extensions.Primitives.StringValues
Public Sub New (value As String)

Parameters

value
String

A string value or null.

Applies to

StringValues(String[])

Source:
StringValues.cs
Source:
StringValues.cs

Initializes a new instance of the StringValues structure using the specified array of strings.

public:
 StringValues(cli::array <System::String ^> ^ values);
public StringValues (string?[]? values);
new Microsoft.Extensions.Primitives.StringValues : string[] -> Microsoft.Extensions.Primitives.StringValues
Public Sub New (values As String())

Parameters

values
String[]

A string array.

Applies to