共用方式為


MethodData Members

Include Protected Members
Include Inherited Members

Provides support for the IntelliSense method tip operation.

The MethodData type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method AdjustCurrentParameter Update the current parameter, either forward or backward, by the specified amount.
Public method Close Closes the method tip and clears the MethodData object.
Public method Dismiss Dismisses the method tip from view.
Public method Dispose Frees any allocations made just before the MethodData object is destroyed.
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 GetContextStream Converts the current context span to a file position and length.
Public method GetCurMethod Returns the currently visible method signature.
Public method GetCurrentParameter Returns the current parameter being edited in the specified method signature.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMethodText Returns the specified text for the specified method signature.
Public method GetOverloadCount Returns the number of method signatures that can be shown.
Public method GetParameterCount Returns the number of parameters available for the specified method signature.
Public method GetParameterText Returns the specified parameter text for the specified method signature.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NextMethod Moves to the next method signature and returns the index of the current method signature.
Public method OnDismiss Called after the method tip is removed from view.
Public method PrevMethod Moves to the previous method signature and returns the index of the current method signature.
Public method Refresh Displays the method tip with the given method signatures.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method UpdateView Updates the method tip display.

Top

Properties

  Name Description
Public property IsDisplayed Determines if the method tip is visible.
Protected property Methods Determines the list of method signatures that can be displayed in the method tip.
Protected property MethodTipWindow Determines the method tip window as represented by an IVsMethodTipWindow interface.
Protected property Provider Determines the service provider.
Protected property TextView Determines the view the method tip is displayed on.

Top

See Also

Reference

MethodData Class

Microsoft.VisualStudio.Package Namespace