Type.TypeInitializer 속성

정의

형식의 이니셜라이저를 가져옵니다.

public:
 property System::Reflection::ConstructorInfo ^ TypeInitializer { System::Reflection::ConstructorInfo ^ 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

속성 값

에 대한 클래스 생성자의 이름을 포함하는 개체입니다 Type.

구현

특성

설명

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

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

적용 대상

추가 정보