## Object::Is method


オブジェクトが targetType で記述された型のインスタンスであるかを確認します。C# の 'is' 演算子の類似です。

```cpp
virtual bool System::Object::Is(const TypeInfo &targetType) const
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| targetType | const TypeInfo\& | [TypeInfo](../../typeinfo/) 構造体は、現在のオブジェクトをテストする対象の型を記述します。 |

### ReturnValue

オブジェクトがタグ付けされた型またはそのサブクラスである場合は true、そうでない場合は false。

## 参照

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