Condividi tramite


TextTipData.GetContextStream Method

Retrieves the position and length of the tool tip.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.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

'Declaration
Public Overridable Function GetContextStream ( _
    <OutAttribute> ByRef piPos As Integer, _
    <OutAttribute> ByRef piLen As Integer _
) As Integer
public virtual int GetContextStream(
    out int piPos,
    out int piLen
)
public:
virtual int GetContextStream(
    [OutAttribute] int% piPos, 
    [OutAttribute] int% piLen
)
abstract GetContextStream : 
        piPos:int byref * 
        piLen:int byref -> int  
override GetContextStream : 
        piPos:int byref * 
        piLen:int byref -> int
public function GetContextStream(
    piPos : int, 
    piLen : int
) : int

Parameters

  • piPos
    Type: Int32%

    The position of the tool tip.

  • piLen
    Type: Int32%

    The length of the tool tip.

Return Value

Type: Int32
S_OK.

Implements

IVsTextTipData.GetContextStream(Int32%, Int32%)

.NET Framework Security

See Also

Reference

TextTipData Class

Microsoft.VisualStudio.Package Namespace