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

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

Sintassi

'Dichiarazione
Public Function TryGetValue(Of TCollection As {Object, ICollection(Of TElement)}) ( _
    key As TKey, _
    <OutAttribute> ByRef collection As TCollection _
) As Boolean
public 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

Implementa

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

CollectionDictionary<TKey, TElement> Classe

Overload TryGetValue

Spazio dei nomi Microsoft.TeamFoundation.Framework.Common