共用方式為


PackageUtilities.CreateInstance Method (Type)

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Shared Function CreateInstance ( _
    cocreateableType As Type _
) As Object
public static Object CreateInstance(
    Type cocreateableType
)

Parameters

Return Value

Type: System.Object

.NET Framework Security

See Also

Reference

PackageUtilities Class

CreateInstance Overload

Microsoft.VisualStudio.Shell Namespace