OptionalProperty.ToNullable Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
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)
Typparameter
- T
Parameter
- optional
- OptionalProperty<Nullable<T>>
Gibt zurück
Gilt für:
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)
Typparameter
- T
Parameter
- optional
- OptionalProperty<T>