IVsSmartTagData.GetContextStream(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the position and length of the 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 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.
Remarks
COM Signature
From textmgr2.idl:
HRESULT IVsSmartTagData::GetContextStream(
[out] long *piPos,
[out] long *piLength
);