Método IVsSyntheticRegion.GetBaseBufferAnchor
Obtém a âncora do buffer de base da região.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
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
Parâmetros
piAnchorLine
Tipo: Int32%[out] O índice do local de buffer de base.
piAnchorIndex
Tipo: Int32%[out] O local atual do buffer de base da região.
Valor de retorno
Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
COM assinatura
De textmgr.idl:
HRESULT IVsSyntheticRegion::GetBaseBufferAnchor(
[out] long *piAnchorLine,
[out] long *piAnchorIndex
);
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.