TypeLibConverter.GetPrimaryInteropAssembly Metoda

Definice

Získá název a základ kódu primárního sestavení vzájemné komunikace pro zadanou knihovnu typů.

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

Parametry

g
Guid

Identifikátor GUID knihovny typů.

major
Int32

Číslo hlavní verze knihovny typů.

minor
Int32

Číslo podverze knihovny typů.

lcid
Int32

LCID knihovny typů.

asmName
String

Po úspěšném vrácení název primárního sestavení vzájemné spolupráce přidruženého k g.

asmCodeBase
String

Po úspěšném vrácení kód základu primárního sestavení vzájemné spolupráce přidruženého k g.

Návraty

true pokud bylo v registru nalezeno primární sestavení vzájemné spolupráce; jinak false.

Implementuje

Platí pro