Redigera

Dela via


CollectionsExtensions.ExportDictionaryValuesAsArray<T> Method

Definition

Exports the values of a uint indexed Dictionary as an Array

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static cli::array <T> ^ ExportDictionaryValuesAsArray(System::Collections::Generic::Dictionary<System::UInt32, T> ^ input);
public static T[] ExportDictionaryValuesAsArray<T> (this System.Collections.Generic.Dictionary<uint,T> input);
static member ExportDictionaryValuesAsArray : System.Collections.Generic.Dictionary<uint32, 'T> -> 'T[]
<Extension()>
Public Function ExportDictionaryValuesAsArray(Of T) (input As Dictionary(Of UInteger, T)) As T()

Type Parameters

T

Type of data stored in the values of the Dictionary

Parameters

input
Dictionary<UInt32,T>

Dictionary to be exported

Returns

T[]

array in the type of data stored in the Dictionary

Applies to