Partager via


VsSmartTagTipWindowClass.GetContextStream(Int32, Int32) Method

Definition

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).

public:
 virtual int GetContextStream([Runtime::InteropServices::Out] int % piPos, [Runtime::InteropServices::Out] int % piLength) = Microsoft::VisualStudio::TextManager::Interop::IVsSmartTagTipWindow::GetContextStream;
public:
 virtual int GetContextStream([Runtime::InteropServices::Out] int % piPos, [Runtime::InteropServices::Out] int % piLength);
 virtual int GetContextStream([Runtime::InteropServices::Out] int & piPos, [Runtime::InteropServices::Out] int & piLength);
public virtual int GetContextStream (out int piPos, out int piLength);
abstract member GetContextStream : int * int -> int
override this.GetContextStream : int * int -> int
Public Overridable Function GetContextStream (ByRef piPos As Integer, ByRef piLength As Integer) As Integer

Parameters

piPos
Int32

[out] The position in the stream.

piLength
Int32

[out] The length of the stream.

Returns

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

Implements

Applies to