Get()

NameTable::Get(const String&) method

Returns the atomized string with the specified value.

const String & System::Xml::NameTable::Get(const String &value) override

Arguments

ParameterTypeDescription
valueconst String&The name to find.

Return Value

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

NameTable::Get(const ArrayPtr<char16_t>&, int32_t, int32_t) method

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

const String & System::Xml::NameTable::Get(const ArrayPtr<char16_t> &key, int32_t start, int32_t len) override

Arguments

ParameterTypeDescription
keyconst ArrayPtr<char16_t>&The character array containing the name to find.
startint32_tThe zero-based index into the array specifying the first character of the name.
lenint32_tThe number of characters in the name.

Return Value

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

See Also