Metodo IVsTextViewIntellisenseHost.SetContextSelection
Spazio dei nomi: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Sintassi
'Dichiarazione
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
Parametri
iStartLine
Tipo: Int32
iStartIndex
Tipo: Int32
iEndLine
Tipo: Int32
iEndIndex
Tipo: Int32
Valore restituito
Tipo: Int32
Se il metodo ha esito positivo, restituisce NativeMethods.S_OK.Se non riesce, restituisce un codice di errore.
Note
da singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHost::SetContextSelection([in] long iStartLine, [in] long iStartIndex, [in] long iEndLine, [in] long iEndIndex);
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.