[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Determines if this dictionary contains a key equal to key. If so, the value
associated with that key is returned through the value parameter. This method must be overridden
in the derived class.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public abstract bool TryGetValue(
TKey key,
out TValue value
) |
Visual Basic (Declaration) |
---|
Public MustOverride Function TryGetValue ( _
key As TKey, _
<OutAttribute> ByRef value As TValue _
) As Boolean |
Visual C++ |
---|
public:
virtual bool TryGetValue (
TKey key,
[OutAttribute] TValue% value
) abstract |
Parameters
- key
- TKey
The key to search for.
- value
- TValue%
Returns the value associated with key, if true was returned.
Return Value
True if the dictionary contains key. False if the dictionary does not contain key.
See Also