Share via


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

Return Value

Type: System.Reflection.Assembly
Assembly .

Remarks

This is used to load an assembly so that the underlying file is not locked

.NET Framework Security

See Also

Reference

DynamicTypeService Class

Microsoft.VisualStudio.Shell.Design Namespace