IVsSmartTagTipWindow::GetContextStream Method (Int32, Int32)

 

Returns the context stream.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int GetContextStream(
	[OutAttribute] int% piPos,
	[OutAttribute] int% piLength
)

Parameters

piPos
Type: System::Int32

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

piLength
Type: System::Int32

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

Return Value

Type: System::Int32

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

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.

Return to top
Show: