266 lines
15 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Type Name="XmlAnyElementAttributes" FullName="System.Xml.Serialization.XmlAnyElementAttributes">
<TypeSignature Maintainer="auto" Language="C#" Value="public class XmlAnyElementAttributes : System.Collections.CollectionBase" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit XmlAnyElementAttributes extends System.Collections.CollectionBase" />
<AssemblyInfo>
<AssemblyName>System.Xml</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>To be added</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Collections.CollectionBase</BaseTypeName>
</Base>
<Interfaces>
</Interfaces>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="T:System.Xml.Serialization.XmlAnyElementAttributes" /> to override the behavior of a set of <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> objects. Multiple instances of the <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> class can be applied to a class member, as long as each instance has a distinct <see cref="P:System.Xml.Serialization.XmlAnyElementAttribute.Name" /> property value; this instructs the <see cref="T:System.Xml.Serialization.XmlSerializer" /> to collect unknown elements under the named element into the appropriate array. It is for this reason that multiple instances of the <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> class can be added to the <see cref="T:System.Xml.Serialization.XmlAnyElementAttributes" />.</para>
<para>To override a set of <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> objects: </para>
<list type="ordered">
<item>
<para>Create an <see cref="T:System.Xml.Serialization.XmlAnyElementAttributes" />.</para>
</item>
<item>
<para>Create the set of <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> objects, and add each object to the collection using the <see cref="M:System.Xml.Serialization.XmlAnyElementAttributes.Add(System.Xml.Serialization.XmlAnyElementAttribute)" /> method.</para>
</item>
<item>
<para>Create an <see cref="T:System.Xml.Serialization.XmlAttributes" />.</para>
</item>
<item>
<para>Set the <see cref="P:System.Xml.Serialization.XmlAttributes.XmlAnyElements" /> property to the <see cref="T:System.Xml.Serialization.XmlAnyElementAttributes" />.</para>
</item>
<item>
<para>Create an <see cref="T:System.Xml.Serialization.XmlAttributeOverrides" />.</para>
</item>
<item>
<para>Add the <see cref="T:System.Xml.Serialization.XmlAttributes" /> to the <see cref="T:System.Xml.Serialization.XmlAttributeOverrides" /> using the <see cref="M:System.Xml.Serialization.XmlAttributeOverrides.Add(System.Type,System.Xml.Serialization.XmlAttributes)" /> method.</para>
</item>
<item>
<para>Create an instance of the <see cref="T:System.Xml.Serialization.XmlSerializer" /> using the <see cref="T:System.Xml.Serialization.XmlAttributeOverrides" />.</para>
</item>
<item>
<para>Serialize or deserialize an object that contains the set of <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> objects.</para>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a collection of <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> objects.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public XmlAnyElementAttributes ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() 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 />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlAnyElementAttributes" /> class. </para>
</summary>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public int Add (System.Xml.Serialization.XmlAnyElementAttribute attribute);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 Add(class System.Xml.Serialization.XmlAnyElementAttribute attribute) 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>
<Parameter Name="attribute" Type="System.Xml.Serialization.XmlAnyElementAttribute" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Adds an <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> to the collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The index of the newly added <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" />.</para>
</returns>
<param name="attribute">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> to add. </param>
</Docs>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public bool Contains (System.Xml.Serialization.XmlAnyElementAttribute attribute);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Contains(class System.Xml.Serialization.XmlAnyElementAttribute attribute) 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="attribute" Type="System.Xml.Serialization.XmlAnyElementAttribute" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a value that indicates whether the specified <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> exists in the collection.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if the <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> exists in the collection; otherwise, false.</para>
</returns>
<param name="attribute">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> you are interested in. </param>
</Docs>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="C#" Value="public void CopyTo (System.Xml.Serialization.XmlAnyElementAttribute[] array, int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CopyTo(class System.Xml.Serialization.XmlAnyElementAttribute[] array, int32 index) 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.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="array" Type="System.Xml.Serialization.XmlAnyElementAttribute[]" />
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Copies the entire collection to a compatible one-dimensional array of <see cref="T:System.Xml.Serialization.XmlElementAttribute" /> objects, starting at the specified index of the target array. </para>
</summary>
<param name="array">
<attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional array of <see cref="T:System.Xml.Serialization.XmlElementAttribute" /> objects that is the destination of the elements copied from the collection. The array must have zero-based indexing.</param>
<param name="index">
<attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in <paramref name="array" /> at which copying begins.</param>
</Docs>
</Member>
<Member MemberName="IndexOf">
<MemberSignature Language="C#" Value="public int IndexOf (System.Xml.Serialization.XmlAnyElementAttribute attribute);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 IndexOf(class System.Xml.Serialization.XmlAnyElementAttribute attribute) 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>
<Parameter Name="attribute" Type="System.Xml.Serialization.XmlAnyElementAttribute" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the index of the specified <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The index of the specified <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" />.</para>
</returns>
<param name="attribute">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> whose index you want. </param>
</Docs>
</Member>
<Member MemberName="Insert">
<MemberSignature Language="C#" Value="public void Insert (int index, System.Xml.Serialization.XmlAnyElementAttribute attribute);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Insert(int32 index, class System.Xml.Serialization.XmlAnyElementAttribute attribute) 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.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="attribute" Type="System.Xml.Serialization.XmlAnyElementAttribute" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Inserts an <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> into the collection at the specified index.</para>
</summary>
<param name="index">
<attribution license="cc4" from="Microsoft" modified="false" />The index where the <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> is inserted. </param>
<param name="attribute">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> to insert. </param>
</Docs>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public System.Xml.Serialization.XmlAnyElementAttribute this[int index] { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Xml.Serialization.XmlAnyElementAttribute Item(int32)" />
<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.Xml.Serialization.XmlAnyElementAttribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">To be added: an object of type 'int'</param>
<summary>To be added</summary>
<value>To be added: an object of type 'XmlAnyElementAttribute'</value>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (System.Xml.Serialization.XmlAnyElementAttribute attribute);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Remove(class System.Xml.Serialization.XmlAnyElementAttribute attribute) 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.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="attribute" Type="System.Xml.Serialization.XmlAnyElementAttribute" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Removes the specified <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> from the collection.</para>
</summary>
<param name="attribute">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.Serialization.XmlAnyElementAttribute" /> to remove. </param>
</Docs>
</Member>
</Members>
</Type>