System::IsTuple 方法
System::IsTuple method
检查对象是否为元组(实现 ITuple 接口)。用于位置模式实现。
bool System::IsTuple(const SharedPtr<Object> &object, int32_t length)
| Parameter | Type | 描述 |
|---|---|---|
| 对象 | const SharedPtr<Object>& | 要检查的对象。 |
| length | int32_t | 预期的元组长度 |
ReturnValue
对象是否为元组且其长度等于预期值
另见
- Typedef SharedPtr
- Class Object
- Namespace System
- Library Aspose.Page for C++