Get()
Contents
[
Hide
]NameTable::Get(const String&) method
Returns the atomized string with the specified value.
const String & System::Xml::NameTable::Get(const String &value) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| value | const String& | The name to find. |
Return Value
The atomized string object or nullptr if the string has not already been atomized.
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | value is nullptr. |
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
| Parameter | Type | Description |
|---|---|---|
| key | const ArrayPtr<char16_t>& | The character array containing the name to find. |
| start | int32_t | The zero-based index into the array specifying the first character of the name. |
| len | int32_t | The 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.
Exceptions
| Exception | Description |
|---|---|
| IndexOutOfRangeException | 0 > start or start >= key.Length or len >= key.Length The above conditions do not cause an exception to be thrown if len = 0. |
| ArgumentOutOfRangeException | len < 0. |
See Also
- Typedef ArrayPtr
- Class String
- Class NameTable
- Namespace System::Xml
- Library Aspose.Slides