Partager via


IVsTextViewIntellisenseHost.SetSubjectSelection, méthode

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop.8.0 (dans Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntaxe

'Déclaration
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

Paramètres

  • iAnchorIndex
    Type : Int32

     

  • iEndIndex
    Type : Int32

     

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne NativeMethods.S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

De singlefileeditor.idl :

HRESULT IVsTextViewIntellisenseHost::SetSubjectSelection([in] long iAnchorIndex, [in] long iEndIndex);

Sécurité .NET Framework

Voir aussi

Référence

IVsTextViewIntellisenseHost Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms