ModelMetadata.IsReadOnly 属性

定义

获取或设置一个值,该值指定是否可以更新模型。

public:
 virtual property bool IsReadOnly { bool get(); void set(bool value); };
public virtual bool IsReadOnly { get; set; }
member this.IsReadOnly : bool with get, set
Public Overridable Property IsReadOnly As Boolean

属性值

如果模型为只读,则为 默认值为 .

适用于