OptionalProperty.ToNullable 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
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
- optional
- OptionalProperty<T>