Partager via


ViewFilter.CreateTextTipData Method

Creates a new instance of the TextTipData class.

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

Syntax

'Declaration
Public Overridable Function CreateTextTipData As TextTipData
public virtual TextTipData CreateTextTipData()
public:
virtual TextTipData^ CreateTextTipData()
abstract CreateTextTipData : unit -> TextTipData  
override CreateTextTipData : unit -> TextTipData
public function CreateTextTipData() : TextTipData

Return Value

Type: Microsoft.VisualStudio.Package.TextTipData
Returns a new TextTipData object.

Remarks

This method creates a new TextTipData object. If you need to derive a class from the TextTipData class, you must derive a class from the ViewFilter class, override this method to return an instantiation of your version of the TextTipData class.

The base method initializes the TextTipData class with the language service's service provider by accessing the Site property on the LanguageService object.

.NET Framework Security

See Also

Reference

ViewFilter Class

Microsoft.VisualStudio.Package Namespace