ReadOnlyAttribute Class
Silverlight
Specifies whether the property this attribute is applied to is read-only or read/write.
Namespace: System.ComponentModel
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.) |
The Silverlight implementation of ReadOnlyAttribute does not implement the static values Yes and No. Check the IsReadOnly property instead.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.