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.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.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: System.Int32%The position of the tool tip.
piLen
Type: System.Int32%The length of the tool tip.
Return Value
Type: System.Int32
S_OK.
Implements
IVsTextTipData.GetContextStream(Int32%, Int32%)
.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.