﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ReadOnlyAttribute" FullName="System.ComponentModel.ReadOnlyAttribute"><TypeSignature Language="C#" Maintainer="auto" Value="public sealed class ReadOnlyAttribute : Attribute" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed ReadOnlyAttribute extends System.Attribute" /><AssemblyInfo><AssemblyName>System</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.3300.0</AssemblyVersion><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Attribute</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.AttributeUsage(System.AttributeTargets.All)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Members that are marked with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to true or that do not have a Set method cannot be changed. Members that do not have this attribute or that are marked with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to false are read/write, and they can be changed. The default is <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />.</para><block subset="none" type="note"><para>The <see cref="T:System.ComponentModel.PropertyDescriptor" /> class enforces the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> in the design environment and at run time. When you mark a property with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to true, the value of this attribute is set to the constant member <see cref="F:System.ComponentModel.ReadOnlyAttribute.Yes" />. For a property marked with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to false, the value is <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />. Therefore, when you want to check the value of this attribute in your code, you must specify the attribute as <see cref="F:System.ComponentModel.ReadOnlyAttribute.Yes" /> or <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />.</para></block><para>For more information, see <format type="text/html"><a href="30386922-1e00-4602-9ebf-526b271a8b87">Extending Metadata Using Attributes</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies whether the property this attribute is bound to is read-only or read/write. This class cannot be inherited</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ReadOnlyAttribute (bool isReadOnly);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(bool isReadOnly) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="isReadOnly" Type="System.Boolean" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Members that are marked with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to true or that do not have a Set method cannot be changed. Members that do not have this attribute or that are marked with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to false are read/write, and they can be changed. The default is <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />.</para><block subset="none" type="note"><para>When you mark a property with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to true, the value of this attribute is set to the constant member <see cref="F:System.ComponentModel.ReadOnlyAttribute.Yes" />. For a property marked with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to false, the value is <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />. Therefore, when you want to check the value of this attribute in your code, you must specify the attribute as <see cref="F:System.ComponentModel.ReadOnlyAttribute.Yes" /> or <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> class.</para></summary><param name="isReadOnly"><attribution license="cc4" from="Microsoft" modified="false" />true to show that the property this attribute is bound to is read-only; false to show that the property is read/write. </param></Docs></Member><Member MemberName="Default"><MemberSignature Language="C#" Value="public static readonly System.ComponentModel.ReadOnlyAttribute Default;" /><MemberSignature Language="ILAsm" Value=".field public static initonly class System.ComponentModel.ReadOnlyAttribute Default" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.ReadOnlyAttribute</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When you mark a property with this value, this attribute is set to the constant member <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />. Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the default value for the <see cref="T:System.ComponentModel.ReadOnlyAttribute" />, which is <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" /> (that is, the property this attribute is bound to is read/write). This static field is read-only.</para></summary></Docs></Member><Member MemberName="Equals"><MemberSignature Language="C#" Value="public override bool Equals (object obj);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="obj" Type="System.Object" /></Parameters><Docs><param name="obj">To be added: an object of type 'object'</param><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Indicates whether this instance and a specified object are equal.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="value" /> is equal to this instance; otherwise, false.</para></returns></Docs></Member><Member MemberName="GetHashCode"><MemberSignature Language="C#" Value="public override int GetHashCode ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the hash code for this instance.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A hash code for the current <see cref="T:System.ComponentModel.ReadOnlyAttribute" />.</para></returns></Docs></Member><Member MemberName="IsDefaultAttribute"><MemberSignature Language="C#" Value="public override bool IsDefaultAttribute ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsDefaultAttribute() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines if this attribute is the default.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the attribute is the default value for this attribute class; otherwise, false.</para></returns></Docs></Member><Member MemberName="IsReadOnly"><MemberSignature Language="C#" Value="public bool IsReadOnly { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool IsReadOnly" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'bool'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the property this attribute is bound to is read-only.</para></summary></Docs></Member><Member MemberName="No"><MemberSignature Language="C#" Value="public static readonly System.ComponentModel.ReadOnlyAttribute No;" /><MemberSignature Language="ILAsm" Value=".field public static initonly class System.ComponentModel.ReadOnlyAttribute No" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.ReadOnlyAttribute</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This field is the default setting for this attribute.</para><para>When you mark a property with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to false, the value of this attribute is set to the constant member <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />. Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies that the property this attribute is bound to is read/write and can be modified. This static field is read-only.</para></summary></Docs></Member><Member MemberName="Yes"><MemberSignature Language="C#" Value="public static readonly System.ComponentModel.ReadOnlyAttribute Yes;" /><MemberSignature Language="ILAsm" Value=".field public static initonly class System.ComponentModel.ReadOnlyAttribute Yes" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.ReadOnlyAttribute</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When you mark a property with the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> set to true, the value of this attribute is set to the constant member <see cref="F:System.ComponentModel.ReadOnlyAttribute.Yes" />. Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as <see cref="F:System.ComponentModel.ReadOnlyAttribute.Yes" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies that the property this attribute is bound to is read-only and cannot be modified in the server explorer. This static field is read-only.</para></summary></Docs></Member></Members></Type>