CollectionDictionary<TKey, TElement>.TryGetValue Method (TKey, ICollection<TElement>%)

Namespace:  Microsoft.TeamFoundation.Framework.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    key As TKey, _
    <OutAttribute> ByRef collection As ICollection(Of TElement) _
) As Boolean
public bool TryGetValue(
    TKey key,
    out ICollection<TElement> collection
)
public:
virtual bool TryGetValue(
    TKey key, 
    [OutAttribute] ICollection<TElement>^% collection
) sealed
abstract TryGetValue : 
        key:'TKey * 
        collection:ICollection<'TElement> byref -> bool  
override TryGetValue : 
        key:'TKey * 
        collection:ICollection<'TElement> byref -> bool
public final function TryGetValue(
    key : TKey, 
    collection : ICollection<TElement>
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

ICollectionDictionary<TKey, TElement>.TryGetValue(TKey, ICollection<TElement>%)

.NET Framework Security

See Also

Reference

CollectionDictionary<TKey, TElement> Class

TryGetValue Overload

Microsoft.TeamFoundation.Framework.Common Namespace