IVsSyntheticRegion.SetBaseBufferAnchor(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);