次の方法で共有


ViewFilter.CreateTextTipData Method

Definition

Caution

Support for Quick Info is now provided via the IAsyncQuickInfoSourceProvider API

Creates the TextTipData object and returns it

public:
 virtual Microsoft::VisualStudio::Package::TextTipData ^ CreateTextTipData();
 virtual Microsoft::VisualStudio::Package::TextTipData CreateTextTipData();
public virtual Microsoft.VisualStudio.Package.TextTipData CreateTextTipData ();
[System.Obsolete("Support for Quick Info is now provided via the IAsyncQuickInfoSourceProvider API")]
public virtual Microsoft.VisualStudio.Package.TextTipData CreateTextTipData ();
abstract member CreateTextTipData : unit -> Microsoft.VisualStudio.Package.TextTipData
override this.CreateTextTipData : unit -> Microsoft.VisualStudio.Package.TextTipData
[<System.Obsolete("Support for Quick Info is now provided via the IAsyncQuickInfoSourceProvider API")>]
abstract member CreateTextTipData : unit -> Microsoft.VisualStudio.Package.TextTipData
override this.CreateTextTipData : unit -> Microsoft.VisualStudio.Package.TextTipData
Public Overridable Function CreateTextTipData () As TextTipData

Returns

Returns a new TextTipData object.

Attributes

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.

Applies to