Share via


IVsSyntheticRegion.GetBaseBufferAnchor(Int32, Int32) Method

Definition

Gets the base buffer anchor of the region.

public:
 int GetBaseBufferAnchor([Runtime::InteropServices::Out] int % piAnchorLine, [Runtime::InteropServices::Out] int % piAnchorIndex);
int GetBaseBufferAnchor([Runtime::InteropServices::Out] int & piAnchorLine, [Runtime::InteropServices::Out] int & piAnchorIndex);
public int GetBaseBufferAnchor (out int piAnchorLine, out int piAnchorIndex);
abstract member GetBaseBufferAnchor : int * int -> int
Public Function GetBaseBufferAnchor (ByRef piAnchorLine As Integer, ByRef piAnchorIndex As Integer) As Integer

Parameters

piAnchorLine
Int32

[out] The index of the base buffer line location.

piAnchorIndex
Int32

[out] The current base buffer location of the region.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSyntheticRegion::GetBaseBufferAnchor(  
   [out] long *piAnchorLine,  
   [out] long *piAnchorIndex  
);  

Applies to