ReadOnlyAttribute Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies whether the property this attribute is applied to is read-only or read/write.
Assembly: System (in System.dll)
The ReadOnlyAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | IsReadOnly | Gets a value that indicates whether the property this attribute is applied to is read-only. |
| Name | Description | |
|---|---|---|
![]() | Equals | Returns whether this instance and a specified object are equal. (Overrides Attribute::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this instance. (Overrides Attribute::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
ReadOnlyAttribute does not implement the static values Yes and No. Check the IsReadOnly property instead.
Show:


