NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNameTable.Get (Char[], Int32, Int32)

Gets the atomized String object containing the same chars as the specified range of chars in the given char array.

[Visual Basic]
Overloads Function Get( _
   ByVal array() As Char, _
   ByVal offset As Integer, _
   ByVal length As Integer _
) As String
[C#]
string Get(
   char[] array,
   int offset,
   int length
);
[C++]
String* Get(
   __wchar_t* array[],
   int offset,
   int length
) = 0;
[JScript]
function Get(
   array : Char[],
   offset : int,
   length : int
) : String;

Parameters

array
The character array containing the name to look up.
offset
Zero based index into the array specifying the first character of the name.
length
The number of characters in the name. Returns null if this string has not already been atomized.

Return Value

The atomized string. Returns String.Empty if length is zero. Returns null if this string has not already been atomized.

Exceptions

Exception Type Condition
IndexOutOfRangeException if 0 > offset > array.Length or 0 > length > array.Length- offset.

See Also

XmlNameTable Interface | XmlNameTable Members | System.NewXml Namespace | XmlNameTable.Get Overload List