VsSmartTagTipWindowClass.GetContextStream Method
Returns the context stream (the position and length of text in the buffer that should not be obscured by the tip window, but to which the content of the tip is related).
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Public Overridable Function GetContextStream ( _
<OutAttribute> ByRef piPos As Integer, _
<OutAttribute> ByRef piLength As Integer _
) As Integer
'Usage
Dim instance As VsSmartTagTipWindowClass
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
)
abstract GetContextStream :
piPos:int byref *
piLength:int byref -> int
override GetContextStream :
piPos:int byref *
piLength:int byref -> int
public function GetContextStream(
piPos : int,
piLength : int
) : int
Parameters
- piPos
Type: System.Int32%
[out] The position in the stream.
- piLength
Type: System.Int32%
[out] The length of the stream.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSmartTagTipWindow.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.
See Also
Reference
VsSmartTagTipWindowClass Class