DynamicTypeService.CreateDynamicAssembly Method
This method creates a new assembly whose contents are the given assembly file.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public MustOverride Function CreateDynamicAssembly ( _
fileName As String _
) As Assembly
public abstract Assembly CreateDynamicAssembly(
string fileName
)
public:
virtual Assembly^ CreateDynamicAssembly(
String^ fileName
) abstract
abstract CreateDynamicAssembly :
fileName:string -> Assembly
public abstract function CreateDynamicAssembly(
fileName : String
) : Assembly
Parameters
fileName
Type: StringThe name of the assembly.
Return Value
Type: Assembly
Assembly.
Remarks
This is used to load an assembly so that the underlying file is not locked
.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.