Returns the context stream.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Public Overridable Function GetContextStream ( _
<OutAttribute> ByRef piPos As Integer, _
<OutAttribute> ByRef piLength As Integer _
) As Integer
'使用
Dim instance As VsTextTipWindowClass
Dim piPos As Integer
Dim piLength As Integer
Dim returnValue As Integer
returnValue = instance.GetContextStream(piPos, _
piLength)
public virtual int GetContextStream(
out int piPos,
out int piLength
)
public:
virtual int GetContextStream(
[OutAttribute] int% piPos,
[OutAttribute] int% piLength
)
public function GetContextStream(
piPos : int,
piLength : int
) : int
Parameters
piPos
Type: System.Int32%[out] Starting position of the context stream.
piLength
Type: System.Int32%[out] Length of the context stream from the starting position (piPos).
Return Value
Type: System.Int32
Implements
IVsTextTipWindow.GetContextStream(Int32%, Int32%)
Permissions
- 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.