ItemFieldDictionary::TryGetValue Method

Gets the value associated with the specified key.

Namespace:  Microsoft.Synchronization.SimpleProviders
Assembly:  Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)

public:
virtual bool TryGetValue(
	unsigned int key, 
	[OutAttribute] ItemField^% value
) sealed

Parameters

key
Type: System::UInt32
The key of the value to get.
value
Type: Microsoft.Synchronization.SimpleProviders::ItemField%
When this method returns, contains 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.

Return Value

Type: System::Boolean
true if an ItemField object with the specified key exists in the ItemFieldDictionary collection; otherwise false.

Implements

IDictionary<TKey, TValue>::TryGetValue(TKey, TValue%)
Show: