## XmlNameTable::Get(const ArrayPtr\<char16_t\>\&, int32_t, int32_t) method


在派生类中重写时，获取包含给定数组中指定字符范围的相同字符的原子化字符串。

```cpp
virtual const String & System::Xml::XmlNameTable::Get(const ArrayPtr<char16_t> &array, int32_t offset, int32_t length)=0
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 数组 | const ArrayPtr\<char16_t\>\& | 包含要查找的名称的字符数组。 |
| offset | int32_t | 指定名称第一个字符的数组的零基索引。 |
| 长度 | int32_t | 名称中的字符数。 |

### ReturnValue

如果字符串尚未被原子化，则返回已原子化的字符串或 **nullptr**。如果 **length** 为零，则返回 [String::Empty](../../../system/string/empty/)。

## 另见

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [XmlNameTable](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
## XmlNameTable::Get(const String\&) method


在派生类中重写时，获取与指定字符串具有相同值的原子化字符串。

```cpp
virtual const String & System::Xml::XmlNameTable::Get(const String &array)=0
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 数组 | const String\& | 要查找的名称。 |

### ReturnValue

如果字符串尚未被原子化，则返回已原子化的字符串或 **nullptr**。

## 另见

* Class [String](../../../system/string/)
* Class [XmlNameTable](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
