HybridDictionary<TKey, TValue>.TryGetValue Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Function TryGetValue ( _
key As TKey, _
<OutAttribute> ByRef value As TValue _
) As Boolean
public bool TryGetValue(
TKey key,
out TValue value
)
public:
virtual bool TryGetValue(
TKey key,
[OutAttribute] TValue% value
) sealed
abstract TryGetValue :
key:'TKey *
value:'TValue byref -> bool
override TryGetValue :
key:'TKey *
value:'TValue byref -> bool
public final function TryGetValue(
key : TKey,
value : TValue
) : boolean
Parameters
- key
Type: TKey
- value
Type: TValue%
Return Value
Type: System.Boolean
Implements
IDictionary<TKey, TValue>.TryGetValue(TKey, TValue%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.