IVsSyntheticRegion::GetBaseBufferAnchor Method (Int32, Int32)
Visual Studio 2015
Gets the base buffer anchor of the region.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int GetBaseBufferAnchor( [OutAttribute] int% piAnchorLine, [OutAttribute] int% piAnchorIndex )
Parameters
- piAnchorLine
-
Type:
System::Int32
[out] The index of the base buffer line location.
- piAnchorIndex
-
Type:
System::Int32
[out] The current base buffer location of the region.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsSyntheticRegion::GetBaseBufferAnchor( [out] long *piAnchorLine, [out] long *piAnchorIndex );
Show: