class ReadOnlyAttribute

in global :: System . ComponentModel

Specifies whether the property this attribute is bound to is read-only or read/write. This class cannot be inherited


public ReadOnlyAttribute( bool isReadOnly )

Initializes a new instance of the class.

  • isReadOnly to show that the property this attribute is bound to is read-only; to show that the property is read/write.

public static ReadOnlyAttribute Default

Specifies the default value for the , which is (that is, the property this attribute is bound to is read/write). This field is read-only.

public bool Equals( object value )

Indicates whether this instance and a specified object are equal.

  • value Another object to compare to.
  • Returns if is equal to this instance; otherwise, .

public bool IsReadOnly { get; }

Gets a value indicating whether the property this attribute is bound to is read-only.

  • Returns if the property this attribute is bound to is read-only; if the property is read/write.

public static ReadOnlyAttribute No

Specifies that the property this attribute is bound to is read/write and can be modified. This field is read-only.

public static ReadOnlyAttribute Yes

Specifies that the property this attribute is bound to is read-only and cannot be modified in the server explorer. This field is read-only.

public int GetHashCode( )

😔 No documentation found.

public bool IsDefaultAttribute( )

😔 No documentation found.

public object TypeId { get; }

😔 No documentation found.

public bool Match( object obj )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.