Freigeben über


TextTipData.GetContextStream Method

Retrieves the position and length of the tool tip.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.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
'Usage
Dim instance As TextTipData
Dim piPos As Integer
Dim piLen As Integer
Dim returnValue As Integer

returnValue = instance.GetContextStream(piPos, _
    piLen)
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

Return Value

Type: System.Int32
S_OK().

Implements

IVsTextTipData.GetContextStream(Int32%, Int32%)

.NET Framework Security

See Also

Reference

TextTipData Class

TextTipData Members

Microsoft.VisualStudio.Package Namespace