Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the base buffer anchor of the region.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function GetBaseBufferAnchor ( _
<OutAttribute> ByRef piAnchorLine As Integer, _
<OutAttribute> ByRef piAnchorIndex As Integer _
) As Integer
int GetBaseBufferAnchor(
out int piAnchorLine,
out int piAnchorIndex
)
int GetBaseBufferAnchor(
[OutAttribute] int% piAnchorLine,
[OutAttribute] int% piAnchorIndex
)
abstract GetBaseBufferAnchor :
piAnchorLine:int byref *
piAnchorIndex:int byref -> int
function GetBaseBufferAnchor(
piAnchorLine : int,
piAnchorIndex : int
) : int
Parameters
- piAnchorLine
Type: System.Int32%
[out] The index of the base buffer 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.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSyntheticRegion::GetBaseBufferAnchor(
[out] long *piAnchorLine,
[out] long *piAnchorIndex
);
.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.