Compartilhar via


IVsDataProvider.GetAssembly Method

Definition

Overloads

GetAssembly(String)

Resolves a provider-specific assembly string to its corresponding Assembly representation.

GetAssembly(Guid, String)

Resolves a provider-specific assembly string to its corresponding Assembly representation, for a specific DDEX data source.

GetAssembly(String)

Resolves a provider-specific assembly string to its corresponding Assembly representation.

public:
 System::Reflection::Assembly ^ GetAssembly(System::String ^ assemblyString);
public System.Reflection.Assembly GetAssembly (string assemblyString);
abstract member GetAssembly : string -> System.Reflection.Assembly
Public Function GetAssembly (assemblyString As String) As Assembly

Parameters

assemblyString
String

A provider-specific assembly string.

Returns

An Assembly object that represents the assembly that is resolved from the specified assembly string, if found; otherwise, null.

Exceptions

The assemblyString parameter is null.

<ANY>

The DDEX provider’s GetAssembly(String) implementation threw an exception.

Applies to

GetAssembly(Guid, String)

Resolves a provider-specific assembly string to its corresponding Assembly representation, for a specific DDEX data source.

public:
 System::Reflection::Assembly ^ GetAssembly(Guid source, System::String ^ assemblyString);
public System.Reflection.Assembly GetAssembly (Guid source, string assemblyString);
abstract member GetAssembly : Guid * string -> System.Reflection.Assembly
Public Function GetAssembly (source As Guid, assemblyString As String) As Assembly

Parameters

source
Guid

A DDEX data source identifier.

assemblyString
String

A provider-specific assembly string.

Returns

An Assembly object that represents the assembly that is resolved from the specified assembly string for the specified DDEX data source, if found; otherwise, null.

Exceptions

The assemblyString parameter is null.

<ANY>

The DDEX provider’s GetAssembly(Guid, String) or GetAssembly(String) implementation threw an exception.

Applies to