_Type.TypeInitializer 属性

定义

为 COM 对象提供对 TypeInitializer 属性的与版本无关的访问。Provides COM objects with version-independent access to the TypeInitializer property.

public:
 property System::Reflection::ConstructorInfo ^ TypeInitializer { System::Reflection::ConstructorInfo ^ get(); };
public System.Reflection.ConstructorInfo TypeInitializer { get; }
member this.TypeInitializer : System.Reflection.ConstructorInfo
Public ReadOnly Property TypeInitializer As ConstructorInfo

属性值

包含 ConstructorInfo 的类构造函数的名称的 TypeA ConstructorInfo containing the name of the class constructor for the Type.

注解

此属性用于从非托管代码访问托管类,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

属性获取的初始值设定项TypeType.TypeInitializerThe Type.TypeInitializer property gets the initializer for the Type.

适用于