GraphPathSerializationDictionary.TryGetValue(String, String) Method

Definition

Gets the value associated with the specified key.

C++
public:
 virtual bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] System::String ^ % value);

Parameters

key
String

The key whose value to get.

value
String

When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Returns

True if the object that implements System.Collections.Generic.IDictionary contains an element with the specified key; otherwise, false.

Exceptions

key is null.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022