Share via


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

'Declaration
Public Overridable Function GetAssembly ( _
    source As Guid, _
    assemblyString As String _
) As Assembly
public virtual Assembly GetAssembly(
    Guid source,
    string assemblyString
)
public:
virtual Assembly^ GetAssembly(
    Guid source, 
    String^ assemblyString
)
abstract GetAssembly : 
        source:Guid * 
        assemblyString:string -> Assembly  
override GetAssembly : 
        source:Guid * 
        assemblyString:string -> Assembly
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).

.NET Framework Security

See Also

Reference

DataSourceSpecializer Class

Microsoft.VisualStudio.Data.Framework Namespace