DataSourceSpecializer.GetAssembly Method

Locates an assembly, given an assembly string and a data source GUID.

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

Syntax

Public Overridable Function GetAssembly ( _
    source As Guid, _
    assemblyString As String _
) As Assembly

Dim instance As DataSourceSpecializer
Dim source As Guid
Dim assemblyString As String
Dim returnValue As Assembly

returnValue = instance.GetAssembly(source, _
    assemblyString)
public virtual Assembly GetAssembly(
    Guid source,
    string assemblyString
)
public:
virtual Assembly^ GetAssembly(
    Guid source, 
    String^ assemblyString
)
public function GetAssembly(
    source : Guid, 
    assemblyString : String
) : Assembly

Parameters

  • assemblyString
    Type: System.String

    Name of the assembly to retrieve.

Return Value

Type: System.Reflection.Assembly

An assembly.

Implements

IVsDataSourceSpecializer.GetAssembly(Guid, String)

Remarks

This method allows a DDEX provider to customize resolving assemblies, thus allowing code to be installed in private locations rather than exclusively in the global assembly cache.

Notes to Inheritors:

The base implementation of this method returns nulla null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

DataSourceSpecializer Class

DataSourceSpecializer Members

Microsoft.VisualStudio.Data.Framework Namespace