Partager via


DataProvider.GetAssembly Method (Guid, String)

Resolves an assembly string to an assembly associated with a specified data source as defined by the DDEX provider.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public MustOverride Function GetAssembly ( _
    dataSource As Guid, _
    assemblyString As String _
) As Assembly
public abstract Assembly GetAssembly(
    Guid dataSource,
    string assemblyString
)
public:
virtual Assembly^ GetAssembly(
    Guid dataSource, 
    String^ assemblyString
) abstract
abstract GetAssembly : 
        dataSource:Guid * 
        assemblyString:string -> Assembly
public abstract function GetAssembly(
    dataSource : Guid, 
    assemblyString : String
) : Assembly

Parameters

  • dataSource
    Type: System.Guid

    GUID for a DDEX data source.

  • assemblyString
    Type: System.String

    Name of the assembly to retrieve.

Return Value

Type: System.Reflection.Assembly
Returns a specified assembly.

.NET Framework Security

See Also

Reference

DataProvider Class

GetAssembly Overload

Microsoft.VisualStudio.Data Namespace

GetAssembly