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

‘선언
Public MustOverride Function CreateDynamicAssembly ( _
    fileName As String _
) As Assembly
‘사용 방법
Dim instance As DynamicTypeService
Dim fileName As String
Dim returnValue As [Assembly]

returnValue = instance.CreateDynamicAssembly(fileName)
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

DynamicTypeService Members

Microsoft.VisualStudio.Shell.Design Namespace