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

Spazio dei nomi: Microsoft.TeamFoundation.Framework.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Sintassi

'Dichiarazione
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>

Parametri di tipo

  • TCollection

Parametri

  • collection
    Tipo: TCollection%

Valore restituito

Tipo: System.Boolean

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ICollectionDictionary<TKey, TElement> Interfaccia

Overload TryGetValue

Spazio dei nomi Microsoft.TeamFoundation.Framework.Common