VsTextViewClass.SetSelection, méthode

Selects a spécifié le texte.

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

Syntaxe

'Déclaration
Public Overridable Function SetSelection ( _
    iAnchorLine As Integer, _
    iAnchorCol As Integer, _
    iEndLine As Integer, _
    iEndCol As Integer _
) As Integer
public virtual int SetSelection(
    int iAnchorLine,
    int iAnchorCol,
    int iEndLine,
    int iEndCol
)
public:
virtual int SetSelection(
    [InAttribute] int iAnchorLine, 
    [InAttribute] int iAnchorCol, 
    [InAttribute] int iEndLine, 
    [InAttribute] int iEndCol
)
abstract SetSelection : 
        iAnchorLine:int * 
        iAnchorCol:int * 
        iEndLine:int * 
        iEndCol:int -> int  
override SetSelection : 
        iAnchorLine:int * 
        iAnchorCol:int * 
        iEndLine:int * 
        iEndCol:int -> int
public function SetSelection(
    iAnchorLine : int, 
    iAnchorCol : int, 
    iEndLine : int, 
    iEndCol : int
) : int

Paramètres

  • iAnchorLine
    Type : Int32

    [in] ancrez la position de ligne pour la sélection.

  • iAnchorCol
    Type : Int32

    [in] ancrez la position de la colonne pour la sélection. Les coordonnées de Viewcol peuvent comprendre l'espace virtuel.

  • iEndLine
    Type : Int32

    [in] terminez la position de ligne pour la sélection.

  • iEndCol
    Type : Int32

    [in] terminez la position de la colonne pour la sélection. Les coordonnées de Viewcol peuvent comprendre l'espace virtuel.

Valeur de retour

Type : Int32

Implémentations

IVsTextView.SetSelection(Int32, Int32, Int32, Int32)

Sécurité .NET Framework

Voir aussi

Référence

VsTextViewClass Classe

Microsoft.VisualStudio.TextManager.Interop, espace de noms