Condividi tramite


Source.CreateMethodData Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Dichiarazione
Public Overridable Function CreateMethodData As MethodData
'Utilizzo
Dim instance As Source
Dim returnValue As MethodData

returnValue = instance.CreateMethodData()
public virtual MethodData CreateMethodData()
public:
virtual MethodData^ CreateMethodData()
abstract CreateMethodData : unit -> MethodData 
override CreateMethodData : unit -> MethodData 
public function CreateMethodData() : MethodData

Return Value

Type: Microsoft.VisualStudio.Package.MethodData
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.

.NET Framework Security

See Also

Reference

Source Class

Source Members

Microsoft.VisualStudio.Package Namespace