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