System::Object::Is method
Object::Is method
オブジェクトが targetType で記述された型のインスタンスであるかを確認します。C# の ‘is’ 演算子の類似です。
virtual bool System::Object::Is(const TypeInfo &targetType) const
| パラメーター | 型 | 説明 |
|---|---|---|
| targetType | const TypeInfo& | TypeInfo 構造体は、現在のオブジェクトをテストする対象の型を記述します。 |
ReturnValue
オブジェクトがタグ付けされた型またはそのサブクラスである場合は true、そうでない場合は false。
参照
- Class TypeInfo
- Class Object
- Namespace System
- Library Aspose.Page for C++