ICollectionDictionary<TKey, TElement>.TryGetValue Method (TKey, ICollection<TElement>%)
Namespace: Microsoft.TeamFoundation.Framework.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Function TryGetValue ( _
key As TKey, _
<OutAttribute> ByRef collection As ICollection(Of TElement) _
) As Boolean
bool TryGetValue(
TKey key,
out ICollection<TElement> collection
)
bool TryGetValue(
TKey key,
[OutAttribute] ICollection<TElement>^% collection
)
abstract TryGetValue :
key:'TKey *
collection:ICollection<'TElement> byref -> bool
function TryGetValue(
key : TKey,
collection : ICollection<TElement>
) : boolean
Parameters
- key
Type: TKey
- collection
Type: System.Collections.Generic.ICollection<TElement>%
Return Value
Type: System.Boolean
.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.