TypeLibConverter.GetPrimaryInteropAssembly Método

Definição

Obtém o nome e a base de código de um assembly interop principal 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 menor da biblioteca de tipos.

lcid
Int32

O LCID da biblioteca de tipos.

asmName
String

No retorno bem-sucedido, o nome do conjunto principal de interoperabilidade associado a g.

asmCodeBase
String

Após o retorno bem-sucedido, a base de código do assembly principal de interoperabilidade associada a g.

Devoluções

true se o conjunto principal de interoperabilidade fosse encontrado no registo; caso contrário false.

Implementações

Aplica-se a