Share via


MetadataAttribute.IsReadOnly Property

Definition

Specifies whether the attribute is read only.

public:
 property bool IsReadOnly { bool get(); void set(bool value); };
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)]
public bool IsReadOnly { get; set; }
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)>]
member this.IsReadOnly : bool with get, set
Public Property IsReadOnly As Boolean

Property Value

true if the attribute is read only; otherwise, false.

Attributes

Applies to