Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TryGetValue Method

SfcCollatedDictionaryCollection<T, K, ParentT>::TryGetValue Method

Gets the value associated with the specified key.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

public:
bool TryGetValue(
	K key, 
	[OutAttribute] T% obj
)

Parameters

key
Type: K
The key of the value to get.
obj
Type: T%
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.

Return Value

Type: System::Boolean
true if the collection contains an element with the specified key; otherwise, false.

Community Additions

ADD
Show:
© 2015 Microsoft