Redigera

Dela via


XmlNameTable.Get Method

Definition

When overridden in a derived class, gets the atomized string.

Overloads

Get(String)

When overridden in a derived class, gets the atomized string containing the same value as the specified string.

Get(Char[], Int32, Int32)

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

Remarks

For more information on atomized strings, see XmlNameTable.

Get(String)

When overridden in a derived class, gets the atomized string containing the same value as the specified string.

public:
 abstract System::String ^ Get(System::String ^ array);
public abstract string Get (string array);
public abstract string? Get (string array);
abstract member Get : string -> string
Public MustOverride Function Get (array As String) As String

Parameters

array
String

The name to look up.

Returns

The atomized string or null if the string has not already been atomized.

Exceptions

array is null.

Remarks

For more information on atomized strings, see XmlNameTable.

Applies to

Get(Char[], Int32, Int32)

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

public:
 abstract System::String ^ Get(cli::array <char> ^ array, int offset, int length);
public abstract string Get (char[] array, int offset, int length);
public abstract string? Get (char[] array, int offset, int length);
abstract member Get : char[] * int * int -> string
Public MustOverride Function Get (array As Char(), offset As Integer, length As Integer) As String

Parameters

array
Char[]

The character array containing the name to look up.

offset
Int32

The zero-based index into the array specifying the first character of the name.

length
Int32

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

0 > offset

-or-

offset >= array.Length

-or-

length > array.Length

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

Remarks

For more information on atomized strings, see XmlNameTable.

Applies to