IVsTextViewEx::GetClusterRange Method (Int32, Int32, Int32, Int32, Int32)
Visual Studio 2015
Returns cluster range information for the given line number and character index.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int GetClusterRange( int iLine, int iDisplayCol, [OutAttribute] int% picCharacter, [OutAttribute] int% piStartCol, [OutAttribute] int% piEndCol )
Parameters
- iLine
-
Type:
System::Int32
[in] The line number.
- iDisplayCol
-
Type:
System::Int32
[in] The character index.
- picCharacter
-
Type:
System::Int32
[out] The character count.
- piStartCol
-
Type:
System::Int32
[out] The start character index.
- piEndCol
-
Type:
System::Int32
[out] The end character index.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr2.idl:
HRESULT IVsTextViewEx::GetClusterRange( [in]long iLine, [in]INT iDisplayCol, [out]INT *picCharacter, [out]INT *piStartCol, [out]INT *piEndCol );
Returns cluster range info given the line number and index of current character
Show: