Partilhar via


Método VsTextViewClass.ClearSelection

Limpa a seleção atual.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
Public Overridable Function ClearSelection ( _
    fMoveToAnchor As Integer _
) As Integer
public virtual int ClearSelection(
    int fMoveToAnchor
)
public:
virtual int ClearSelection(
    [InAttribute] int fMoveToAnchor
)
abstract ClearSelection : 
        fMoveToAnchor:int -> int  
override ClearSelection : 
        fMoveToAnchor:int -> int
public function ClearSelection(
    fMoveToAnchor : int
) : int

Parâmetros

  • fMoveToAnchor
    Tipo: Int32

    [in] Se true, o cursor é colocado na âncora após a seleção atual está desmarcada. Se false, e em seguida, o cursor não é movido.

Valor de retorno

Tipo: Int32

Implementações

IVsTextView.ClearSelection(Int32)

Segurança do .NET Framework

Consulte também

Referência

VsTextViewClass Classe

Namespace Microsoft.VisualStudio.TextManager.Interop