Compartilhar via


Método CollectionDictionary<TKey, TElement>.TryGetValue<TCollection> (TKey, TCollection%)

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

Sintaxe

'Declaração
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>

Parâmetros de tipo

  • TCollection

Parâmetros

  • collection
    Tipo: TCollection%

Valor de retorno

Tipo: System.Boolean

Implementações

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

Segurança do .NET Framework

Consulte também

Referência

CollectionDictionary<TKey, TElement> Classe

Sobrecargas TryGetValue

Namespace Microsoft.TeamFoundation.Framework.Common