Método IVsTextViewIntellisenseHost.SetContextSelection
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Sintaxe
'Declaração
Function SetContextSelection ( _
iStartLine As Integer, _
iStartIndex As Integer, _
iEndLine As Integer, _
iEndIndex As Integer _
) As Integer
int SetContextSelection(
int iStartLine,
int iStartIndex,
int iEndLine,
int iEndIndex
)
int SetContextSelection(
[InAttribute] int iStartLine,
[InAttribute] int iStartIndex,
[InAttribute] int iEndLine,
[InAttribute] int iEndIndex
)
abstract SetContextSelection :
iStartLine:int *
iStartIndex:int *
iEndLine:int *
iEndIndex:int -> int
function SetContextSelection(
iStartLine : int,
iStartIndex : int,
iEndLine : int,
iEndIndex : int
) : int
Parâmetros
iStartLine
Tipo: Int32
iStartIndex
Tipo: Int32
iEndLine
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::SetContextSelection([in] long iStartLine, [in] long iStartIndex, [in] long iEndLine, [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.