Freigeben über


ICollectionDictionary<TKey, TElement>.TryGetValue<TCollection>-Methode (TKey, TCollection%)

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

Syntax

'Declaration
Function TryGetValue(Of TCollection As {Object, ICollection(Of TElement)}) ( _
    key As TKey, _
    <OutAttribute> ByRef collection As TCollection _
) As Boolean
bool TryGetValue<TCollection>(
    TKey key,
    out TCollection collection
)
where TCollection : Object, ICollection<TElement>

Typparameter

  • TCollection

Parameter

  • collection
    Typ: TCollection%

Rückgabewert

Typ: System.Boolean

.NET Framework-Sicherheit

Siehe auch

Referenz

ICollectionDictionary<TKey, TElement> Schnittstelle

TryGetValue-Überladung

Microsoft.TeamFoundation.Framework.Common-Namespace