共用方式為


DictionaryExtensions.GetPropertyAsArray<TKey> Method

Definition

public static string[] GetPropertyAsArray<TKey> (this System.Collections.Generic.IDictionary<TKey,string> dictionary, TKey property);
static member GetPropertyAsArray : System.Collections.Generic.IDictionary<'Key, string> * 'Key -> string[]
<Extension()>
Public Function GetPropertyAsArray(Of TKey) (dictionary As IDictionary(Of TKey, String), property As TKey) As String()

Type Parameters

TKey

Parameters

dictionary
IDictionary<TKey,String>
property
TKey

Returns

String[]

Applies to