次の方法で共有


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