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>>&)使用指定的参数调用当前实例所代表的方法或构造函数。

另见