Compartir a través de


IVsSmartTagTipWindow.GetContextStream(Int32, Int32) Method

Definition

Returns the context stream.

public:
 int GetContextStream([Runtime::InteropServices::Out] int % piPos, [Runtime::InteropServices::Out] int % piLength);
int GetContextStream([Runtime::InteropServices::Out] int & piPos, [Runtime::InteropServices::Out] int & piLength);
public int GetContextStream (out int piPos, out int piLength);
abstract member GetContextStream : int * int -> int
Public Function GetContextStream (ByRef piPos As Integer, ByRef piLength As Integer) As Integer

Parameters

piPos
Int32

[out] The position of the non-obscurable smart-tag-related text.

piLength
Int32

[out] The length of the non-obscurable smart-tag-related text.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsSmartTagTipWindow::GetContextStream(  
   [out] long *piPos,  
   [out] long *piLength  
);  

The context stream is 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.

Applies to