Condividi tramite


GraphPathSerializationDictionary.Item[String] Property

Definition

Gets or sets the element 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

The key of the element to get or set.

Property Value

The element with the specified key.

Implements

Exceptions

key is null.

The property is retrieved and key is not found.

The property is set and the System.Collections.Generic.IDictionary is read only

Applies to