Compartilhar via


BaseProperty.ReadOnly Property

Definition

Tells if this property is a read-only property.

public:
 property bool ReadOnly { bool get(); void set(bool value); };
public bool ReadOnly { get; set; }
public bool ReadOnly { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.ReadOnly : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.ReadOnly : bool with get, set
Public Property ReadOnly As Boolean

Property Value

true if this is a read-only property; otherwise, false.

Attributes

Remarks

This field is optional and its default value is "false".

Applies to