TypeLibConverter.GetPrimaryInteropAssembly Método

Definição

Obtém o nome e o código base de um assembly de interoperabilidade primário para uma biblioteca de tipos especificada.

public:
 virtual bool GetPrimaryInteropAssembly(Guid g, int major, int minor, int lcid, [Runtime::InteropServices::Out] System::String ^ % asmName, [Runtime::InteropServices::Out] System::String ^ % asmCodeBase);
public bool GetPrimaryInteropAssembly (Guid g, int major, int minor, int lcid, out string asmName, out string asmCodeBase);
abstract member GetPrimaryInteropAssembly : Guid * int * int * int * string * string -> bool
override this.GetPrimaryInteropAssembly : Guid * int * int * int * string * string -> bool
Public Function GetPrimaryInteropAssembly (g As Guid, major As Integer, minor As Integer, lcid As Integer, ByRef asmName As String, ByRef asmCodeBase As String) As Boolean

Parâmetros

g
Guid

O GUID da biblioteca de tipos.

major
Int32

O número de versão principal da biblioteca de tipos.

minor
Int32

O número de versão secundária da biblioteca de tipos.

lcid
Int32

O LCID da biblioteca de tipos.

asmName
String

Mediante retorno bem-sucedido, o nome do assembly de interoperabilidade primário associado a g.

asmCodeBase
String

Mediante retorno bem-sucedido, o código base do assembly de interoperabilidade primário associado a g.

Retornos

Boolean

true se o assembly de interoperabilidade primário tiver sido encontrado no registro; caso contrário, false.

Implementações

Aplica-se a