Freigeben über


VirtualTypeBuilder Class

Creates new virtual typea. This class cannot be inherited.

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

Syntax

'Declaration
Public NotInheritable Class VirtualTypeBuilder
'Usage
Dim instance As VirtualTypeBuilder
public sealed class VirtualTypeBuilder
public ref class VirtualTypeBuilder sealed
[<SealedAttribute>]
type VirtualTypeBuilder =  class end
public final class VirtualTypeBuilder

Remarks

This class produces new virtual types. A builder pattern is used to implement this class because the creation of a new virtual type requires extensive object configuration by defining properties, methods, and events. When the type’s configuration process is completed, call the CreateType method to create a new virtual type.

VirtualTypeBuilder builds a type either by accepting direct additions and removals from its various member collections or by initializing it from a Code Document Object Model (CodeDOM) CodeTypeDeclaration.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VirtualTypeBuilder Members

Microsoft.VisualStudio.Shell.Design Namespace

VirtualTypeImplementor