Language

OptionalProperty.ToList Method

Definition

Overloads

ToList<T>(OptionalProperty<IList<T>>)

public:
generic <typename T>
 static System::Collections::Generic::IList<T> ^ ToList(System::Net::ClientModel::Internal::OptionalProperty<System::Collections::Generic::IList<T> ^> optional);
public static System.Collections.Generic.IList<T> ToList<T>(System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IList<T>> optional);
static member ToList : System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IList<'T>> -> System.Collections.Generic.IList<'T>
Public Shared Function ToList(Of T) (optional As OptionalProperty(Of IList(Of T))) As IList(Of T)

Type Parameters

T

Parameters

optional
OptionalProperty<IList<T>>

Returns

Applies to

ToList<T>(OptionalProperty<IReadOnlyList<T>>)

public:
generic <typename T>
 static System::Collections::Generic::IReadOnlyList<T> ^ ToList(System::Net::ClientModel::Internal::OptionalProperty<System::Collections::Generic::IReadOnlyList<T> ^> optional);
public static System.Collections.Generic.IReadOnlyList<T> ToList<T>(System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IReadOnlyList<T>> optional);
static member ToList : System.Net.ClientModel.Internal.OptionalProperty<System.Collections.Generic.IReadOnlyList<'T>> -> System.Collections.Generic.IReadOnlyList<'T>
Public Shared Function ToList(Of T) (optional As OptionalProperty(Of IReadOnlyList(Of T))) As IReadOnlyList(Of T)

Type Parameters

T

Parameters

Returns

Applies to