Type.TypeInitializer 속성

정의

형식에 대한 이니셜라이저를 가져옵니다.

public:
 property System::Reflection::ConstructorInfo ^ TypeInitializer { System::Reflection::ConstructorInfo ^ get(); };
public System.Reflection.ConstructorInfo? TypeInitializer { get; }
public System.Reflection.ConstructorInfo TypeInitializer { get; }
[System.Runtime.InteropServices.ComVisible(true)]
public System.Reflection.ConstructorInfo TypeInitializer { get; }
member this.TypeInitializer : System.Reflection.ConstructorInfo
[<System.Runtime.InteropServices.ComVisible(true)>]
member this.TypeInitializer : System.Reflection.ConstructorInfo
Public ReadOnly Property TypeInitializer As ConstructorInfo

속성 값

ConstructorInfo

Type에 대한 클래스 생성자의 이름이 들어 있는 개체입니다.

구현

특성

설명

FindMembers메서드 또는 GetMember GetMembers GetConstructor 매개 변수로를 사용 하는,, 및 GetConstructors 메서드의 오버 로드를 통해 클래스 이니셜라이저를 사용할 수도 있습니다 BindingFlags .

현재 Type 이 제네릭 형식 또는 제네릭 메서드 정의의 형식 매개 변수를 나타내는 경우이 속성은을 반환 null 합니다.

적용 대상

추가 정보