This topic has not yet been rated - Rate this topic

IVsSmartTagData.GetContextStream Method

Gets the position and length of the stream.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int GetContextStream(
	out int piPos,
	out int piLength
)

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.

COM Signature

From textmgr2.idl:

HRESULT IVsSmartTagData::GetContextStream(
   [out] long *piPos,
   [out] long *piLength
);
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.