Share via


FormCollection.Item[String] Property

Definition

Get or sets the associated value from the collection as a single string.

public:
 property Microsoft::Extensions::Primitives::StringValues default[System::String ^] { Microsoft::Extensions::Primitives::StringValues get(System::String ^ key); };
public Microsoft.Extensions.Primitives.StringValues this[string key] { get; }
member this.Item(string) : Microsoft.Extensions.Primitives.StringValues
Default Public ReadOnly Property Item(key As String) As StringValues

Parameters

key
String

The header name.

Property Value

the associated value from the collection as a StringValues or Empty if the key is not present.

Implements

Applies to