System::Reflection::ConstructorInfo 类
ConstructorInfo class
提供对构造函数元数据的访问。
class ConstructorInfo : public System::Reflection::MethodBase
方法
| 方法 | 描述 |
|---|---|
| ConstructorInfo(const String&, std::function<System::Object::ptr()>) | 初始化一个不带参数的构造函数的 ConstructorInfo 类的新实例。 |
| get_DeclaringType() | 获取声明此成员的类。未实现。 |
| get_MemberType() const override | 获取一个指示此成员为构造函数的 MemberTypes 值。 |
| Invoke(const System::ArrayPtr<System::SharedPtr<System::Object>>&) | 使用指定的参数调用当前实例所表示的方法或构造函数。 |
另见
- Class MethodBase
- Namespace System::Reflection
- Library Aspose.Font for C++