ITypeLibConverter.ConvertTypeLibToAssembly 메서드

정의

COM 형식 라이브러리를 어셈블리로 변환합니다.

오버로드

ConvertTypeLibToAssembly(Object, String, Int32, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, Boolean)

COM 형식 라이브러리를 어셈블리로 변환합니다.

ConvertTypeLibToAssembly(Object, String, TypeLibImporterFlags, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, String, Version)

COM 형식 라이브러리를 어셈블리로 변환합니다.

ConvertTypeLibToAssembly(Object, String, Int32, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, Boolean)

COM 형식 라이브러리를 어셈블리로 변환합니다.

public:
 System::Reflection::Emit::AssemblyBuilder ^ ConvertTypeLibToAssembly(System::Object ^ typeLib, System::String ^ asmFileName, int flags, System::Runtime::InteropServices::ITypeLibImporterNotifySink ^ notifySink, cli::array <System::Byte> ^ publicKey, System::Reflection::StrongNameKeyPair ^ keyPair, bool unsafeInterfaces);
public System.Reflection.Emit.AssemblyBuilder ConvertTypeLibToAssembly (object typeLib, string asmFileName, int flags, System.Runtime.InteropServices.ITypeLibImporterNotifySink notifySink, byte[] publicKey, System.Reflection.StrongNameKeyPair keyPair, bool unsafeInterfaces);
abstract member ConvertTypeLibToAssembly : obj * string * int * System.Runtime.InteropServices.ITypeLibImporterNotifySink * byte[] * System.Reflection.StrongNameKeyPair * bool -> System.Reflection.Emit.AssemblyBuilder
Public Function ConvertTypeLibToAssembly (typeLib As Object, asmFileName As String, flags As Integer, notifySink As ITypeLibImporterNotifySink, publicKey As Byte(), keyPair As StrongNameKeyPair, unsafeInterfaces As Boolean) As AssemblyBuilder

매개 변수

typeLib
Object

ITypeLib 인터페이스를 구현하는 개체입니다.

asmFileName
String

결과로 만들어지는 어셈블리의 파일 이름입니다.

flags
Int32

특별한 설정을 나타내는 TypeLibImporterFlags 값입니다.

notifySink
ITypeLibImporterNotifySink

호출자가 구현한 ITypeLibImporterNotifySink 인터페이스입니다.

publicKey
Byte[]

공개 키를 포함하는 byte 배열입니다.

keyPair
StrongNameKeyPair

퍼블릭 및 프라이빗 암호화 키 쌍을 포함하는 StrongNameKeyPair 개체입니다.

unsafeInterfaces
Boolean

true인 경우 UnmanagedCode 권한에 대한 링크 시간이 검사되어야 합니다. false인 경우 스택 워크가 필요하고 비용은 더 많이 들지만 더 많은 보호 기능을 제공하는 런타임 검사가 수행되어야 합니다.

반환

변환된 형식 라이브러리를 포함하는 AssemblyBuilder 개체입니다.

설명

에 대 한 자세한 ITypeLib, MSDN 라이브러리의 기존 설명서를 참조 하세요.

적용 대상

ConvertTypeLibToAssembly(Object, String, TypeLibImporterFlags, ITypeLibImporterNotifySink, Byte[], StrongNameKeyPair, String, Version)

COM 형식 라이브러리를 어셈블리로 변환합니다.

public:
 System::Reflection::Emit::AssemblyBuilder ^ ConvertTypeLibToAssembly(System::Object ^ typeLib, System::String ^ asmFileName, System::Runtime::InteropServices::TypeLibImporterFlags flags, System::Runtime::InteropServices::ITypeLibImporterNotifySink ^ notifySink, cli::array <System::Byte> ^ publicKey, System::Reflection::StrongNameKeyPair ^ keyPair, System::String ^ asmNamespace, Version ^ asmVersion);
public System.Reflection.Emit.AssemblyBuilder ConvertTypeLibToAssembly (object typeLib, string asmFileName, System.Runtime.InteropServices.TypeLibImporterFlags flags, System.Runtime.InteropServices.ITypeLibImporterNotifySink notifySink, byte[] publicKey, System.Reflection.StrongNameKeyPair keyPair, string asmNamespace, Version asmVersion);
abstract member ConvertTypeLibToAssembly : obj * string * System.Runtime.InteropServices.TypeLibImporterFlags * System.Runtime.InteropServices.ITypeLibImporterNotifySink * byte[] * System.Reflection.StrongNameKeyPair * string * Version -> System.Reflection.Emit.AssemblyBuilder
Public Function ConvertTypeLibToAssembly (typeLib As Object, asmFileName As String, flags As TypeLibImporterFlags, notifySink As ITypeLibImporterNotifySink, publicKey As Byte(), keyPair As StrongNameKeyPair, asmNamespace As String, asmVersion As Version) As AssemblyBuilder

매개 변수

typeLib
Object

ITypeLib 인터페이스를 구현하는 개체입니다.

asmFileName
String

결과로 만들어지는 어셈블리의 파일 이름입니다.

flags
TypeLibImporterFlags

특별한 설정을 나타내는 TypeLibImporterFlags 값입니다.

notifySink
ITypeLibImporterNotifySink

호출자가 구현한 ITypeLibImporterNotifySink 인터페이스입니다.

publicKey
Byte[]

공개 키를 포함하는 byte 배열입니다.

keyPair
StrongNameKeyPair

퍼블릭 및 프라이빗 암호화 키 쌍을 포함하는 StrongNameKeyPair 개체입니다.

asmNamespace
String

결과로 만들어지는 어셈블리의 네임스페이스입니다.

asmVersion
Version

결과로 만들어지는 어셈블리의 버전입니다. null이면 형식 라이브러리의 버전이 사용됩니다.

반환

변환된 형식 라이브러리를 포함하는 AssemblyBuilder 개체입니다.

설명

에 대 한 자세한 ITypeLib, MSDN 라이브러리의 기존 설명서를 참조 하세요.

적용 대상