OrderedDictionaryTKey, TValueViewTryGetValue Method |
Determines if this view contains a key equal to key. If so, the value
associated with that key is returned through the value parameter.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic override sealed bool TryGetValue(
TKey key,
out TValue value
)
public:
virtual bool TryGetValue(
TKey key,
[OutAttribute] TValue% value
) override sealed
Parameters
- key
- Type: TKey
The key to search for. - value
- Type: TValue
Returns the value associated with key, if true was returned.
Return Value
Type:
BooleanTrue if the key is within this view.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)
See Also