Freigeben über


Source.CreateMethodData Method

Definition

Creates a new instance of a MethodData object that handles the IntelliSense method tip mode.

public:
 virtual Microsoft::VisualStudio::Package::MethodData ^ CreateMethodData();
public virtual Microsoft.VisualStudio.Package.MethodData CreateMethodData ();
abstract member CreateMethodData : unit -> Microsoft.VisualStudio.Package.MethodData
override this.CreateMethodData : unit -> Microsoft.VisualStudio.Package.MethodData
Public Overridable Function CreateMethodData () As MethodData

Returns

A MethodData object.

Remarks

The MethodData class is used to manage the IntelliSense method tip mode, controlling the interaction between what the user types and what is shown in the tool tip window. If you need to derive your own class from the MethodData class, then you must derive a class from the Source class and override this method to instantiate your own MethodData class.

There is typically no reason to override this method.

The base method always returns a new instance of the MethodData class.

This method is called from the Source class constructor.

Applies to