_Type.TypeInitializer _Type.TypeInitializer _Type.TypeInitializer _Type.TypeInitializer Property

定义

为 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.

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

适用于