## String::Is method


检查字符串对象是否为传入的 [TypeInfo](../../typeinfo/) 指定的类型。

```cpp
bool System::String::Is(const System::TypeInfo &target) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| target | const System::TypeInfo\& | 用于检查的 [TypeInfo](../../typeinfo/)。 |

### ReturnValue

如果目标是 [String](../) 类的 [TypeInfo](../../typeinfo/)，则为 true；否则为 false。

## 另见

* Class [TypeInfo](../../typeinfo/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
