1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="ControlValuePropertyAttribute" FullName="System.Web.UI.ControlValuePropertyAttribute">
<TypeSignature Language="C#" Value="public sealed class ControlValuePropertyAttribute : Attribute" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When defining a <see cref="T:System.Web.UI.WebControls.ControlParameter" /> object, you typically bind a control's property to a parameter by setting both the <see cref="P:System.Web.UI.WebControls.ControlParameter.ControlID" /> and <see cref="P:System.Web.UI.WebControls.ControlParameter.PropertyName" /> properties. If the <see cref="P:System.Web.UI.WebControls.ControlParameter.PropertyName" /> property is not set, a default property is used. The <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> attribute is applied to a control to specify its default property that a <see cref="T:System.Web.UI.WebControls.ControlParameter" /> object binds to at run time.</para>
<para>For more information about using attributes, see <format type="text/html"><a href="30386922-1e00-4602-9ebf-526b271a8b87">Extending Metadata Using Attributes</a></format>.</para>
<para>For a list of initial property values for an instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class, see the <see cref="Overload:System.Web.UI.ControlValuePropertyAttribute.#ctor" /> constructor.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the default property of a control that a <see cref="T:System.Web.UI.WebControls.ControlParameter" /> object binds to at run time. This class cannot be inherited.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ControlValuePropertyAttribute (string propName);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="propName" Type="System.String" />
</Parameters>
<Docs>
<param name="propName">To be added.</param>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create a new instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class using the specified property name. The following table shows the initial property value for an instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property</para>
</term>
<description>
<para>Initial value</para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.ControlValuePropertyAttribute.Name" />
</para>
</term>
<description>
<para>The value of the <paramref name="name" /> parameter.</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class using the specified property name.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ControlValuePropertyAttribute (string propName, object propValue);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="propName" Type="System.String" />
<Parameter Name="propValue" Type="System.Object" />
</Parameters>
<Docs>
<param name="propName">To be added.</param>
<param name="propValue">To be added.</param>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create a new instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class using the specified property name and default value. The following table shows initial property values for an instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property</para>
</term>
<description>
<para>Initial value</para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.ControlValuePropertyAttribute.Name" />
</para>
</term>
<description>
<para>The value of the <paramref name="name" /> parameter.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.ControlValuePropertyAttribute.DefaultValue" />
</para>
</term>
<description>
<para>The value of the <paramref name="defaultValue" /> parameter.</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class using the specified property name and default value.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ControlValuePropertyAttribute (string propName, Type type, string propValue);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="propName" Type="System.String" />
<Parameter Name="type" Type="System.Type" />
<Parameter Name="propValue" Type="System.String" />
</Parameters>
<Docs>
<param name="propName">To be added.</param>
<param name="propValue">To be added.</param>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create a new instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class using the specified property name and default value. This version of the constructor also attempts to convert the default value to the data type specified by the <paramref name="type" /> parameter. If the default value cannot be converted, the <see cref="P:System.Web.UI.ControlValuePropertyAttribute.DefaultValue" /> property is not set. The following table shows initial property values for an instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property</para>
</term>
<description>
<para>Initial value</para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.ControlValuePropertyAttribute.Name" />
</para>
</term>
<description>
<para>The value of the <paramref name="name" /> parameter.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.ControlValuePropertyAttribute.DefaultValue" />
</para>
</term>
<description>
<para>The value of the <paramref name="defaultValue" /> parameter, if the value can be converted to the data type specified by the <paramref name="type" /> parameter.</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> class using the specified property name and default value. The default value is also converted to the specified data type.</para>
</summary>
<param name="type">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Type" /> to which the default value is converted.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="DefaultValue">
<MemberSignature Language="C#" Value="public object DefaultValue { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When the property specified by the <see cref="P:System.Web.UI.ControlValuePropertyAttribute.Name" /> property is not set, use the <see cref="P:System.Web.UI.ControlValuePropertyAttribute.DefaultValue" /> property to determine the default value for the property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the default value for the default property of a control.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Web.UI.ControlValuePropertyAttribute.Equals(System.Object)" /> method to determine whether the current instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> object is equal to the specified object. For the objects to be equal, they must meet the following criteria:</para>
<list type="ordered">
<item>
<para>The object contained in the <paramref name="obj" /> parameter must be a <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> object.</para>
</item>
<item>
<para>The <see cref="P:System.Web.UI.ControlValuePropertyAttribute.Name" /> and <see cref="P:System.Web.UI.ControlValuePropertyAttribute.DefaultValue" /> properties of both objects must be equal.</para>
</item>
</list>
<block subset="none" type="note">
<para>This method is used primarily by control developers.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Determines whether the current instance of the <see cref="T:System.Web.UI.ControlValuePropertyAttribute" /> object is equal to the specified object.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if the object contained in the <paramref name="obj" /> parameter is equal to the current instance of <see cref="T:System.Web.UI.ControlValuePropertyAttribute" />; otherwise, false.</para>
</returns>
<param name="obj">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to compare with this instance.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<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 32-bit signed integer hash code.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When a <see cref="T:System.Web.UI.WebControls.ControlParameter" /> object is defined without its <see cref="P:System.Web.UI.WebControls.ControlParameter.PropertyName" /> property set, use the <see cref="P:System.Web.UI.ControlValuePropertyAttribute.Name" /> property to determine the default property that is bound to the <see cref="T:System.Web.UI.WebControls.ControlParameter" /> object at run time.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the default property for a control.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|