Condividi tramite


Metodo IVsTextViewIntellisenseHost.SetSubjectSelection

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 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

Parametri

  • iAnchorIndex
    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::SetSubjectSelection([in] long iAnchorIndex, [in] long iEndIndex);

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsTextViewIntellisenseHost Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop