AxImporter.IReferenceResolver.ResolveComReference Method

Definition

Resolves a reference to the specified type library.

Overloads

ResolveComReference(AssemblyName)

Resolves a reference to the specified assembly that contains a COM component.

ResolveComReference(UCOMITypeLib)

Resolves a reference to the specified type library that contains an COM component.

ResolveComReference(AssemblyName)

Source:
AxImporter.cs
Source:
AxImporter.cs
Source:
AxImporter.IReferenceResolver.cs

Resolves a reference to the specified assembly that contains a COM component.

C#
public string ResolveComReference(System.Reflection.AssemblyName name);
C#
public string? ResolveComReference(System.Reflection.AssemblyName name);

Parameters

name
AssemblyName

An AssemblyName that indicates the assembly to resolve a reference to.

Returns

A fully qualified path to an assembly.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

ResolveComReference(UCOMITypeLib)

Source:
AxImporter.cs
Source:
AxImporter.cs
Source:
AxImporter.IReferenceResolver.cs

Resolves a reference to the specified type library that contains an COM component.

C#
public string ResolveComReference(System.Runtime.InteropServices.UCOMITypeLib typeLib);
C#
public string? ResolveComReference(System.Runtime.InteropServices.UCOMITypeLib typeLib);

Parameters

typeLib
UCOMITypeLib

A UCOMITypeLib to resolve a reference to.

Returns

A fully qualified path to an assembly.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10