ModuleBuilder.GetConstructorToken 메서드

정의

이 모듈 내에서 지정된 생성자를 식별하는 데 사용되는 토큰을 반환합니다.

오버로드

GetConstructorToken(ConstructorInfo)

이 모듈 내에서 지정된 생성자를 식별하는 데 사용되는 토큰을 반환합니다.

GetConstructorToken(ConstructorInfo, IEnumerable<Type>)

이 모듈에 지정된 특성 및 매개 변수 형식이 적용된 생성자를 식별하는 데 사용되는 토큰을 반환합니다.

GetConstructorToken(ConstructorInfo)

이 모듈 내에서 지정된 생성자를 식별하는 데 사용되는 토큰을 반환합니다.

public:
 System::Reflection::Emit::MethodToken GetConstructorToken(System::Reflection::ConstructorInfo ^ con);
public System.Reflection.Emit.MethodToken GetConstructorToken (System.Reflection.ConstructorInfo con);
[System.Runtime.InteropServices.ComVisible(true)]
public System.Reflection.Emit.MethodToken GetConstructorToken (System.Reflection.ConstructorInfo con);
member this.GetConstructorToken : System.Reflection.ConstructorInfo -> System.Reflection.Emit.MethodToken
[<System.Runtime.InteropServices.ComVisible(true)>]
member this.GetConstructorToken : System.Reflection.ConstructorInfo -> System.Reflection.Emit.MethodToken
Public Function GetConstructorToken (con As ConstructorInfo) As MethodToken

매개 변수

con
ConstructorInfo

해당 토큰을 가져올 생성자입니다.

반환

이 모듈 내에서 지정된 생성자를 식별하는 데 사용되는 토큰입니다.

특성

예외

con이(가) null인 경우

적용 대상

GetConstructorToken(ConstructorInfo, IEnumerable<Type>)

이 모듈에 지정된 특성 및 매개 변수 형식이 적용된 생성자를 식별하는 데 사용되는 토큰을 반환합니다.

public:
 System::Reflection::Emit::MethodToken GetConstructorToken(System::Reflection::ConstructorInfo ^ constructor, System::Collections::Generic::IEnumerable<Type ^> ^ optionalParameterTypes);
public System.Reflection.Emit.MethodToken GetConstructorToken (System.Reflection.ConstructorInfo constructor, System.Collections.Generic.IEnumerable<Type> optionalParameterTypes);
member this.GetConstructorToken : System.Reflection.ConstructorInfo * seq<Type> -> System.Reflection.Emit.MethodToken
Public Function GetConstructorToken (constructor As ConstructorInfo, optionalParameterTypes As IEnumerable(Of Type)) As MethodToken

매개 변수

constructor
ConstructorInfo

해당 토큰을 가져올 생성자입니다.

optionalParameterTypes
IEnumerable<Type>

생성자에 대한 선택적 매개 변수의 형식 컬렉션입니다.

반환

이 모듈 내에서 지정된 생성자를 식별하는 데 사용되는 토큰입니다.

예외

constructor이(가) null인 경우

적용 대상