Freigeben über


IVsSyntheticRegion.SetBaseBufferAnchor(Int32, Int32) Method

Definition

Sets the base buffer anchor of the region.

public:
 int SetBaseBufferAnchor(int iAnchorLine, int iAnchorIndex);
public:
 int SetBaseBufferAnchor(int iAnchorLine, int iAnchorIndex);
int SetBaseBufferAnchor(int iAnchorLine, int iAnchorIndex);
public int SetBaseBufferAnchor (int iAnchorLine, int iAnchorIndex);
abstract member SetBaseBufferAnchor : int * int -> int
Public Function SetBaseBufferAnchor (iAnchorLine As Integer, iAnchorIndex As Integer) As Integer

Parameters

iAnchorLine
Int32

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

iAnchorIndex
Int32

[in] 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::SetBaseBufferAnchor(  
   [in] long iAnchorLine,  
   [in] long iAnchorIndex  
);  

Applies to