CollectionsExtensions.ExportDictionaryValuesAsArray<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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