System::Xml::NameTable::Add method
Contents
[
Hide
]NameTable::Add(const ArrayPtr<char16_t>&, int32_t, int32_t) method
Atomizes the specified string and adds it to the NameTable.
const String & System::Xml::NameTable::Add(const ArrayPtr<char16_t> &key, int32_t start, int32_t len) override
Parameter | Type | Description |
---|---|---|
key | const ArrayPtr<char16_t>& | The character array containing the string to add. |
start | int32_t | The zero-based index into the array specifying the first character of the string. |
len | int32_t | The number of characters in the string. |
ReturnValue
The atomized string or the existing string if one already exists in the NameTable. If len is zero, String::Empty is returned.
See Also
- Class String
- Typedef ArrayPtr
- Class NameTable
- Namespace System::Xml
- Library Aspose.PDF for C++
NameTable::Add(const String&) method
Atomizes the specified string and adds it to the NameTable.
const String & System::Xml::NameTable::Add(const String &key) override
Parameter | Type | Description |
---|---|---|
key | const String& | The string to add. |
ReturnValue
The atomized string or the existing string if it already exists in the NameTable.
See Also
- Class String
- Class NameTable
- Namespace System::Xml
- Library Aspose.PDF for C++