ModelMetadata.IsNullableValueType 属性

定义

获取一个值,该值指定模型是否为可为 null 的值类型。

public:
 property bool IsNullableValueType { bool get(); };
public bool IsNullableValueType { get; }
member this.IsNullableValueType : bool
Public ReadOnly Property IsNullableValueType As Boolean

属性值

true 如果模型是可以为 null 的值类型,则为 ;否则,为 false.

适用于