Método IVsTextViewIntellisenseHost.SetSubjectSelection
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Sintaxe
'Declaração
Function SetSubjectSelection ( _
iAnchorIndex As Integer, _
iEndIndex As Integer _
) As Integer
int SetSubjectSelection(
int iAnchorIndex,
int iEndIndex
)
int SetSubjectSelection(
[InAttribute] int iAnchorIndex,
[InAttribute] int iEndIndex
)
abstract SetSubjectSelection :
iAnchorIndex:int *
iEndIndex:int -> int
function SetSubjectSelection(
iAnchorIndex : int,
iEndIndex : int
) : int
Parâmetros
iAnchorIndex
Tipo: Int32
iEndIndex
Tipo: Int32
Valor de retorno
Tipo: Int32
Se o método for bem-sucedido, ele retorna NativeMethods.S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
De singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHost::SetSubjectSelection([in] long iAnchorIndex, [in] long iEndIndex);
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.