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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Overridable Function CreateTextTipData As TextTipData
'使用
Dim instance As ViewFilter
Dim returnValue As TextTipData
returnValue = instance.CreateTextTipData()
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.