CachedModelMetadata<TPrototypeCache>.IsRequired 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,這個值表示是否需要模型。
public override sealed bool IsRequired { get; set; }
member this.IsRequired : bool with get, set
Public Overrides NotOverridable Property IsRequired As Boolean
屬性值
表示是否需要模型的值。