共用方式為


ConcurrentCollectionDictionary<TKey, TElement>.TryGetValue 方法 (TKey, ICollection<TElement>%)

命名空間:  Microsoft.TeamFoundation.Framework.Common
組件:  Microsoft.TeamFoundation.Common (在 Microsoft.TeamFoundation.Common.dll 中)

語法

'宣告
Public Function TryGetValue ( _
    key As TKey, _
    <OutAttribute> ByRef collection As ICollection(Of TElement) _
) As Boolean
public bool TryGetValue(
    TKey key,
    out ICollection<TElement> collection
)

參數

傳回值

型別:System.Boolean

實作

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

.NET Framework 安全性

請參閱

參考

ConcurrentCollectionDictionary<TKey, TElement> 類別

TryGetValue 多載

Microsoft.TeamFoundation.Framework.Common 命名空間