VsTextLineStorageClass::Storage_GetPositionOfLineIndex Method (Int32, Int32, Int32)
Visual Studio 2015
Gets the line index of a position in the storage.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int Storage_GetPositionOfLineIndex( int iLine, int iIndex, [OutAttribute] int% piPosition )
Parameters
- iLine
-
Type:
System::Int32
[in] The line number of the position.
- iIndex
-
Type:
System::Int32
[out] The index of the position.
- piPosition
-
Type:
System::Int32
[out] The position of interest.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: