System.Xml.XmlNameTable.Get Method

When overridden in a derived class, gets the atomized string containing the same characters as the specified range of characters in the given array.

Syntax

public abstract string Get (char[] array, int offset, int length)

Parameters

array
The character array containing the name to look up.
offset
The zero-based index into the array specifying the first character of the name.
length
The number of characters in the name.

Returns

The atomized string or null if the string has not already been atomized. If length is zero, String.Empty is returned.

Exceptions

TypeReason
IndexOutOfRangeException offset < 0.

- or -

offset >= array.Length.

- or -

length > array.Length - offset.

The above conditions do not cause an exception to be thrown if length = 0.

ArgumentOutOfRangeException length < 0.

Remarks

For more information on atomized strings, see System.Xml.XmlNameTable.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0