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
|
<Type Name="XmlNameTable" FullName="System.Xml.XmlNameTable" FullNameSP="System_Xml_XmlNameTable" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public abstract XmlNameTable extends System.Object" />
<TypeSignature Language="C#" Value="public abstract class XmlNameTable" />
<MemberOfLibrary>XML</MemberOfLibrary>
<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>
</AssemblyInfo>
<ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
<Docs>
<summary>
<para> Creates a table that stores unique instances of <see cref="T:System.String" qualify="true" /> objects.</para>
</summary>
<remarks>
<para>Only a single instance of any given string is stored even if the string is
added multiple times to the table.</para>
<para>Using this class provides an efficient means for an XML parser to use the
same <see cref="T:System.String" qualify="true" />
object for all repeated element and attribute names in an XML document. If the
same object is used for all repeated names, the efficiency of name comparisons
is increased by allowing the names to be compared using object comparisons
rather than string comparisons.</para>
<block subset="none" type="note">
<para> This class is
<see langword="abstract" /> and is implemented in the <see cref="T:System.Xml.NameTable" /> class.</para>
</block>
</remarks>
<example>
<para>See the <see cref="T:System.Xml.NameTable" /> class for an example using this
class.</para>
</example>
</Docs>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="family specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="protected XmlNameTable ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Constructs a new instance of the <see cref="T:System.Xml.XmlNameTable" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Add">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract string Add(string array)" />
<MemberSignature Language="C#" Value="public abstract string Add (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Adds the specified <see cref="T:System.String" qualify="true" /> to the table if a <see cref="T:System.String" qualify="true" /> instance with the same value does not
already exist in the table.</para>
</summary>
<param name="name">The <see cref="T:System.String" /> to add.</param>
<returns>
<para>
<paramref name="array" />, if it did not exist in the table at the time of the call, or
the <see cref="T:System.String" />
instance previously stored in the table with a value equal to <paramref name="array" />.</para>
</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.</exception>
<remarks>
<para>
<block subset="none" type="behaviors"> Only a single
instance of any given <see cref="T:System.String" /> is stored in the table. If the value
of <paramref name="array" /> is already stored in the table, the <see cref="T:System.String" /> instance with that
value is returned.</block>
</para>
<para>
<block subset="none" type="overrides"> This method must be overridden in order to
provide the functionality described above, as there is no default implementation.
</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Add">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract string Add(class System.Char[] array, int32 offset, int32 length)" />
<MemberSignature Language="C#" Value="public abstract string Add (char[] buffer, int offset, int length);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="buffer" Type="System.Char[]" />
<Parameter Name="offset" Type="System.Int32" />
<Parameter Name="length" Type="System.Int32" />
</Parameters>
<Docs>
<param name="buffer">To be added.</param>
<param name="offset">A <see cref="T:System.Int32" qualify="true" /> specifying the zero-based index into the array of the first character of the string.</param>
<param name="length">A <see cref="T:System.Int32" qualify="true" /> containing the number of characters in the string.</param>
<summary>
<para>Adds the <see cref="T:System.String" qualify="true" /> equivalent of a specified subset of a <see cref="T:System.Char" qualify="true" /> array to the
table if the string equivalent does not already exist in the
table.</para>
</summary>
<param name="array">A <see cref="T:System.Char" qualify="true" /> array containing the string to add.</param>
<returns>
<para>The <see cref="T:System.String" qualify="true" />
equivalent of the specified subset of the <see cref="T:System.Char" qualify="true" /> array that is stored in the table, or
<see cref="F:System.String.Empty" qualify="true" /> if
<paramref name="length" /> is zero.</para>
</returns>
<exception cref="T:System.IndexOutOfRangeException">
<para>
<paramref name="offset" /> < 0.</para>
<para>- or -</para>
<para>
<paramref name="offset" /> >= <paramref name="array" />.Length.</para>
<para>- or -</para>
<para>
<paramref name="length" /> > <paramref name="array" />.Length - <paramref name="offset" />.</para>
<para>The above conditions do not cause an exception to be thrown if <paramref name="length" /> = 0.</para>
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="length" /> < 0.</exception>
<remarks>
<para>
<block subset="none" type="behaviors"> Only a single
instance of any given <see cref="T:System.String" /> is stored in the table. Calling this method with the
same subset (containing the same characters) of any <see cref="T:System.Char" qualify="true" /> array, returns
the same instance of the <see cref="T:System.String" qualify="true" />
equivalent.</block>
</para>
<para>
<block subset="none" type="overrides"> This method must be overridden in order to
provide the functionality described above, as there is no default implementation.
</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Get">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract string Get(string array)" />
<MemberSignature Language="C#" Value="public abstract string Get (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Looks up the value of the specified <see cref="T:System.String" qualify="true" /> in the table.</para>
</summary>
<param name="name">The <see cref="T:System.String" qualify="true" /> to look up.</param>
<returns>
<para>The <see cref="T:System.String" />
instance previously stored in the table with a value equal to <paramref name="array" />, or <see langword="null" /> if it does not exist.</para>
</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.</exception>
<remarks>
<para>
<block subset="none" type="behaviors"> Only a single
instance of any given <see cref="T:System.String" /> is stored in the table. If the value
of <paramref name="array" /> is already stored in the table, the <see cref="T:System.String" /> instance with that value is returned. </block>
</para>
<para>
<block subset="none" type="overrides"> This method must be overridden in order to
provide the functionality described above, as there is no default implementation.
</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Get">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract string Get(class System.Char[] array, int32 offset, int32 length)" />
<MemberSignature Language="C#" Value="public abstract string Get (char[] buffer, int offset, int length);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="buffer" Type="System.Char[]" />
<Parameter Name="offset" Type="System.Int32" />
<Parameter Name="length" Type="System.Int32" />
</Parameters>
<Docs>
<param name="buffer">To be added.</param>
<param name="offset">A <see cref="T:System.Int32" qualify="true" /> specifying the zero-based index into the array of the first character of the string.</param>
<param name="length">A <see cref="T:System.Int32" qualify="true" /> containing the number of characters in the string.</param>
<summary>
<para>Looks up the <see cref="T:System.String" qualify="true" /> equivalent of a specified subset of a <see cref="T:System.Char" qualify="true" /> array in the
table.</para>
</summary>
<param name="array">A <see cref="T:System.Char" qualify="true" /> array containing the string to look up.</param>
<returns>
<para>The <see cref="T:System.String" qualify="true" />
equivalent of the specified subset of the <see cref="T:System.Char" qualify="true" /> array that is stored in the table, or
<see langword="null" /> if the equivalent <see cref="T:System.String" /> is not in the table.</para>
</returns>
<exception cref="T:System.IndexOutOfRangeException">
<paramref name="offset" /> < 0. <para>- or -</para><para>
<paramref name="offset" /> >= <paramref name="array" />.Length.</para><para>- or -</para><para>
<paramref name="length" /> > <paramref name="array" />.Length - <paramref name="offset" />.</para><para>The above conditions do not cause an exception to be thrown if <paramref name="length" /> = 0.</para></exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="length" /> < 0.</exception>
<remarks>
<para>
<block subset="none" type="behaviors"> Only a single
instance of any given <see cref="T:System.String" /> is stored in the table. Calling this method with the
same subset (containing the same characters) of any <see cref="T:System.Char" qualify="true" /> array, returns
the same instance of the <see cref="T:System.String" qualify="true" /> equivalent, if it exists. </block>
</para>
<para>
<block subset="none" type="overrides"> This method must be overridden in order to
provide the functionality described above, as there is no default implementation.
</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|