System::Xml::NameTable::Get method

NameTable::Get(const String&) method

Returns the atomized string with the specified value.

const String & System::Xml::NameTable::Get(const String &value) override
ParameterTypeDescription
valueconst String&The name to find.

ReturnValue

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

See Also

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

ReturnValue

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

See Also