Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

79 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="IAttributeAccessor" FullName="System.Web.UI.IAttributeAccessor">
<TypeSignature Language="C#" Maintainer="auto" Value="public interface IAttributeAccessor" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.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>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>If you author a custom server control that inherits from the <see cref="T:System.Web.UI.WebControls.WebControl" />, <see cref="T:System.Web.UI.HtmlControls.HtmlControl" />, or <see cref="T:System.Web.UI.WebControls.ListItem" /> class, the .NET Framework automatically provides programmatic access to attributes because each of these classes implement the <see cref="T:System.Web.UI.IAttributeAccessor" /> interface.</para>
<para>If you author a custom server control that does not inherit from one of these classes and plan to allow programmatic access to attributes that do not correspond with the control's strongly typed properties, be sure to implement the <see cref="T:System.Web.UI.IAttributeAccessor" /> interface.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines methods used by ASP.NET server controls to provide programmatic access to any attribute declared in the opening tag of a server control.</para>
</summary>
</Docs>
<Members>
<Member MemberName="GetAttribute">
<MemberSignature Language="C#" Value="public string GetAttribute (string key);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When implemented by a class, retrieves the specified attribute property from the server control.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The value of the specified attribute.</para>
</returns>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.String" /> that represents the name of the server control attribute. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SetAttribute">
<MemberSignature Language="C#" Value="public void SetAttribute (string key, string value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When implemented by a class, designates an attribute and its value to assign to the ASP.NET server control.</para>
</summary>
<param name="key">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the attribute to be set. </param>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />The value assigned to the attribute. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>