Share via


ModelMetadata.UnderlyingOrModelType 屬性

定義

如果 ModelType 繼承自 Nullable<T> ,則取得基礎類型引數。 否則會取得 ModelType

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

屬性值

備註

除非 是 true ,否則 IsNullableValueTypeModelType 相同。

適用於