IVsSyntheticRegion.GetBaseBufferAnchor Method (Int32, Int32)

 

Gets the base buffer anchor of the region.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetBaseBufferAnchor(
	out int piAnchorLine,
	out 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.Int32

If 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
);
Return to top
Show: