CachedDataAnnotationsMetadataAttributes.ReadOnly Property
Gets or sets the metadata read-only attribute.
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property ReadOnly As ReadOnlyAttribute
Get
Protected Set
'Usage
Dim instance As CachedDataAnnotationsMetadataAttributes
Dim value As ReadOnlyAttribute
value = instance.ReadOnly
instance.ReadOnly = value
public ReadOnlyAttribute ReadOnly { get; protected set; }
public:
property ReadOnlyAttribute^ ReadOnly {
ReadOnlyAttribute^ get ();
protected: void set (ReadOnlyAttribute^ value);
}
member ReadOnly : ReadOnlyAttribute with get, set
function get ReadOnly () : ReadOnlyAttribute
protected function set ReadOnly (value : ReadOnlyAttribute)
Property Value
Type: System.ComponentModel.ReadOnlyAttribute
The metadata read-only attribute.