Share via


ViewDataDictionary.Item[String] Property

Definition

Gets or sets the element with the specified key.

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

Parameters

index
String

Property Value

Implements

Applies to