GraphPathSerializationDictionary.Item[String] Property

Definition

Gets or sets the element with the specified key.

C++
public:
 property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); void set(System::String ^ key, System::String ^ value); };

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

Product Versions
Visual Studio SDK 2017, 2019, 2022