Language

OptionalProperty.ToNullable Method

Definition

Overloads

ToNullable<T>(OptionalProperty<Nullable<T>>)

public:
generic <typename T>
 where T : value class static Nullable<T> ToNullable(System::Net::ClientModel::Internal::OptionalProperty<Nullable<T>> optional);
public static T? ToNullable<T>(System.Net.ClientModel.Internal.OptionalProperty<T?> optional) where T : struct;
static member ToNullable : System.Net.ClientModel.Internal.OptionalProperty<Nullable<'T>> -> Nullable<'T (requires 'T : struct)> (requires 'T : struct)
Public Shared Function ToNullable(Of T As Structure) (optional As OptionalProperty(Of Nullable(Of T))) As Nullable(Of T)

Type Parameters

T

Parameters

optional
OptionalProperty<Nullable<T>>

Returns

Applies to

ToNullable<T>(OptionalProperty<T>)

public:
generic <typename T>
 where T : value class static Nullable<T> ToNullable(System::Net::ClientModel::Internal::OptionalProperty<T> optional);
public static T? ToNullable<T>(System.Net.ClientModel.Internal.OptionalProperty<T> optional) where T : struct;
static member ToNullable : System.Net.ClientModel.Internal.OptionalProperty<'T (requires 'T : struct)> -> Nullable<'T (requires 'T : struct)> (requires 'T : struct)
Public Shared Function ToNullable(Of T As Structure) (optional As OptionalProperty(Of T)) As Nullable(Of T)

Type Parameters

T

Parameters

Returns

Applies to