ModelMetadata.IsNullableValueType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,指出類型是否可為 Null。
public bool IsNullableValueType { get; }
member this.IsNullableValueType : bool
Public ReadOnly Property IsNullableValueType As Boolean
屬性值
如果類型為可為 Null,則為 true;否則為 false。