Freigeben über


VirtualTypeBuilder.CreateType Method

Creates a virtual type based on the configuration of this virtual type builder.

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

Syntax

'Declaration
Public Function CreateType As Type
public Type CreateType()

Return Value

Type: System.Type
A created virtual type.

Exceptions

Exception Condition
InvalidOperationException

The virtual type builder is not completely configured. A virtual type builder must have a type name, a base type and an implementer to be considered completely configured.

.NET Framework Security

See Also

Reference

VirtualTypeBuilder Class

Microsoft.VisualStudio.Shell.Design Namespace