OptionalProperty.ToList 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.
Overloads
| Name | Description |
|---|---|
| ToList<T>(OptionalProperty<IList<T>>) | |
| ToList<T>(OptionalProperty<IReadOnlyList<T>>) |
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
- optional
- OptionalProperty<IReadOnlyList<T>>