Resolves an assembly string to a specific assembly as defined by the DDEX provider.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Function GetAssembly ( _
assemblyString As String _
) As Assembly
'使用
Dim instance As DataProvider
Dim assemblyString As String
Dim returnValue As Assembly
returnValue = instance.GetAssembly(assemblyString)
public Assembly GetAssembly(
string assemblyString
)
public:
Assembly^ GetAssembly(
String^ assemblyString
)
public function GetAssembly(
assemblyString : String
) : Assembly
Parameters
assemblyString
Type: System.StringName of the assembly to retrieve.
Return Value
Type: System.Reflection.Assembly
Returns a specified assembly.
Permissions
- 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.