Share via


Context.Item[String] Property

Definition

Gets or sets the value associated with the specified key.

public:
 property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); void set(System::String ^ key, System::String ^ value); };
public string this[string key] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(key As String) As String

Parameters

key
String

Specifies the key

Property Value

Implements

Remarks

If the key is missing than null is returned.

Applies to