แก้ไข

แชร์ผ่าน


NameTable.Get Method

Definition

Gets the atomized string.

Overloads

Get(String)

Gets the atomized string with the specified value.

Get(Char[], Int32, Int32)

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 NameTable.

Get(String)

Source:
NameTable.cs
Source:
NameTable.cs
Source:
NameTable.cs

Gets the atomized string with the specified value.

public:
 override System::String ^ Get(System::String ^ value);
public override string Get (string value);
public override string? Get (string value);
override this.Get : string -> string
Public Overrides Function Get (value As String) As String

Parameters

value
String

The name to find.

Returns

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

Exceptions

value is null.

Remarks

For more information on atomized strings, see NameTable.

Applies to

Get(Char[], Int32, Int32)

Source:
NameTable.cs
Source:
NameTable.cs
Source:
NameTable.cs

Gets the atomized string containing the same characters as the specified range of characters in the given array.

public:
 override System::String ^ Get(cli::array <char> ^ key, int start, int len);
public override string Get (char[] key, int start, int len);
public override string? Get (char[] key, int start, int len);
override this.Get : char[] * int * int -> string
Public Overrides Function Get (key As Char(), start As Integer, len As Integer) As String

Parameters

key
Char[]

The character array containing the name to find.

start
Int32

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

len
Int32

The number of characters in the name.

Returns

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

Exceptions

0 > start

-or-

start >= key.Length

-or-

len >= key.Length

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

Remarks

For more information on atomized strings, see NameTable.

Applies to