你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DictionaryExtensions.GetProperty<TKey,TValue> Method

Definition

public static TValue GetProperty<TKey,TValue> (this System.Collections.Generic.IDictionary<TKey,TValue> dictionary, TKey property);
static member GetProperty : System.Collections.Generic.IDictionary<'Key, 'Value> * 'Key -> 'Value
<Extension()>
Public Function GetProperty(Of TKey, TValue) (dictionary As IDictionary(Of TKey, TValue), property As TKey) As TValue

Type Parameters

TKey
TValue

Parameters

dictionary
IDictionary<TKey,TValue>
property
TKey

Returns

TValue

Applies to