ModelMetadata.IsReadOnly Propriedade

Definição

Obtém ou define um valor que especifica se o modelo pode ser atualizado.Gets or sets a value that specifies whether the model can be updated.

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

Valor da propriedade

Boolean

trueSe o modelo for somente leitura; caso contrário, false o padrão é false .true if the model is read-only; otherwise, false The default is false.

Aplica-se a