IVsSyntheticRegion.SetBaseBufferAnchor Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Function SetBaseBufferAnchor ( _
iAnchorLine As Integer, _
iAnchorIndex As Integer _
) As Integer
‘사용 방법
Dim instance As IVsSyntheticRegion
Dim iAnchorLine As Integer
Dim iAnchorIndex As Integer
Dim returnValue As Integer
returnValue = instance.SetBaseBufferAnchor(iAnchorLine, _
iAnchorIndex)
int SetBaseBufferAnchor(
int iAnchorLine,
int iAnchorIndex
)
int SetBaseBufferAnchor(
[InAttribute] int iAnchorLine,
[InAttribute] int iAnchorIndex
)
abstract SetBaseBufferAnchor :
iAnchorLine:int *
iAnchorIndex:int -> int
function SetBaseBufferAnchor(
iAnchorLine : int,
iAnchorIndex : int
) : int
Parameters
- iAnchorLine
Type: System.Int32
[in]
- iAnchorIndex
Type: System.Int32
[in] Changes 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.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSyntheticRegion::SetBaseBufferAnchor(
[in] long iAnchorLine,
[in] long iAnchorIndex
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.