共用方式為


VirtualTypeImplementor Class

The base class you must derive from to provide an implementation of your virtual type.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Design.VirtualTypeImplementor

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

Syntax

'宣告
Public MustInherit Class VirtualTypeImplementor
public abstract class VirtualTypeImplementor

The VirtualTypeImplementor type exposes the following members.

Constructors

  Name Description
Protected method VirtualTypeImplementor Initializes a new instance of the VirtualTypeImplementor class.

Top

Methods

  Name Description
Public method AddEventHandler Adds the given delegate to the given event.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetField Gets the value of the requested field.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPropertyValue Gets the value of the requested property.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InvokeConstructor Creates an instance of a type.
Public method InvokeMethod Invokes a method on the object.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveEventHandler Removes the given delegate from the given event.
Public method SetField Sets the value of the requested field.
Public method SetPropertyValue Sets the value of the requested property.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

A virtual type has no implementation of its own. VirtualTypeImplementor acts as the implementation part of a virtual type.

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

Microsoft.VisualStudio.Shell.Design Namespace

VirtualTypeBuilder