Share via


VirtualTypeBuilder Members

Include Protected Members
Include Inherited Members

Creates new virtual typea. This class cannot be inherited.

The VirtualTypeBuilder type exposes the following members.

Constructors

  Name Description
Public method VirtualTypeBuilder Initializes a new instance of the VirtualTypeBuilder class.

Top

Methods

  Name Description
Public method CreateType Creates a virtual type based on the configuration of this virtual type builder.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeFromType(ITypeResolutionService, CodeNamespace) Initializes this virtual type builder with data obtained from the given type.
Public method InitializeFromType(ITypeResolutionService, CodeTypeDeclaration) Initializes this virtual type builder with data obtained from the given type.
Public method InitializeFromType(ITypeResolutionService, CodeTypeDeclaration, String) Initializes this virtual type builder with data obtained from the given type.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property AssemblyName Gets or sets the name of the assembly to which the virtual type should belong.
Public property Attributes Gets the collection of Attributes for the virtual type.
Public property BaseType Gets or sets the base type from which the virtual type is derived.
Public property Constructors Gets a collection of constructors for this virtual type.
Public property DeclaringType Gets or sets the declaring type for the resulting virtual type.
Public property Events Gets the collection of Events for the virtual type.
Public property Fields Gets the collection of Fields for the resulting virtual type.
Public property Implementor Gets or sets the implementer that will be used for the resulting virtual type.
Public property IsPublic Gets or sets a value indicating whether the resulting virtual type has the public access modifier.
Public property IsSerializable Gets or sets whether the resulting virtual type is serializable.
Public property Methods Gets the collection of methods for the resulting virtual type.
Public property Properties Gets the collection of Properties for the virtual type.
Public property TypeName Gets or sets the type name for the virtual type.

Top

See Also

Reference

VirtualTypeBuilder Class

Microsoft.VisualStudio.Shell.Design Namespace