ModelMetadata.IsReadOnly Property
Gets or sets a value that indicates whether the model is read-only.
Namespace: System.Web.Http.Metadata
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public virtual bool IsReadOnly {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public:
property bool IsReadOnly {
[CompilerGeneratedAttribute]
virtual bool get();
[CompilerGeneratedAttribute]
virtual void set(bool value);
}
abstract IsReadOnly : bool with get, set
override IsReadOnly : bool with get, set
Public Overridable Property IsReadOnly As Boolean
Property Value
Type: System.Boolean
true if the model is read-only; otherwise, false.
See Also
ModelMetadata Class
System.Web.Http.Metadata Namespace
Return to top