IVsDataProvider.GetAssembly Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
The DDEX provider’s GetAssembly(Guid, String) or GetAssembly(String) implementation threw an exception.