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
source
Type: System.GuidDDEX data source GUID.
assemblyString
Type: System.StringName 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.