KitchenDraw SDK 2
Show / Hide Table of Contents

Method TryGetValue

TryGetValue(string, out string)

Gets the value associated with the specified key.

Declaration
bool TryGetValue(string key, out string value)
Parameters
Type Name Description
string key

The key whose value to get.

string value

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
Type Description
bool

true if the object contains an element with the specified key; otherwise, false.

In this article
Back to top Generated by DocFX