Language

OptionalProperty.ToDictionary Method

Definition

Overloads

ToDictionary<TKey,TValue>(OptionalProperty<IDictionary<TKey,TValue>>)

public:
generic <typename TKey, typename TValue>
 static System::Collections::Generic::IDictionary<TKey, TValue> ^ ToDictionary(System::Net::ClientModel::Internal::OptionalProperty<System::Collections::Generic::IDictionary<TKey, TValue> ^> optional);
public static System.Collections.Generic.IDictionary<TKey,TValue> ToDictionary<TKey,TValue>(System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IDictionary<TKey,TValue>> optional);
static member ToDictionary : System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IDictionary<'Key, 'Value>> -> System.Collections.Generic.IDictionary<'Key, 'Value>
Public Shared Function ToDictionary(Of TKey, TValue) (optional As OptionalProperty(Of IDictionary(Of TKey, TValue))) As IDictionary(Of TKey, TValue)

Type Parameters

TKey
TValue

Parameters

optional
OptionalProperty<IDictionary<TKey,TValue>>

Returns

Applies to

ToDictionary<TKey,TValue>(OptionalProperty<IReadOnlyDictionary<TKey,TValue>>)

public:
generic <typename TKey, typename TValue>
 static System::Collections::Generic::IReadOnlyDictionary<TKey, TValue> ^ ToDictionary(System::Net::ClientModel::Internal::OptionalProperty<System::Collections::Generic::IReadOnlyDictionary<TKey, TValue> ^> optional);
public static System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> ToDictionary<TKey,TValue>(System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>> optional);
static member ToDictionary : System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value>> -> System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value>
Public Shared Function ToDictionary(Of TKey, TValue) (optional As OptionalProperty(Of IReadOnlyDictionary(Of TKey, TValue))) As IReadOnlyDictionary(Of TKey, TValue)

Type Parameters

TKey
TValue

Parameters

optional
OptionalProperty<IReadOnlyDictionary<TKey,TValue>>

Returns

Applies to