ModelMetadata.UnderlyingOrModelType ModelMetadata.UnderlyingOrModelType ModelMetadata.UnderlyingOrModelType ModelMetadata.UnderlyingOrModelType Property

Definition

Gets the underlying type argument if ModelType inherits from Nullable<T>. Otherwise gets ModelType.

public:
 property Type ^ UnderlyingOrModelType { Type ^ get(); };
public Type UnderlyingOrModelType { get; }
member this.UnderlyingOrModelType : Type
Public ReadOnly Property UnderlyingOrModelType As Type

Property Value

Remarks

Identical to ModelType unless IsNullableValueType is true.

Applies to