Compartilhar via


Método IntraTextAdornment.SetIsSelected

Define o valor de IsSelected no especificado UIElement.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (em Microsoft.VisualStudio.Text.UI.Wpf.dll)

Sintaxe

'Declaração
Public Shared Sub SetIsSelected ( _
    element As UIElement, _
    isSelected As Boolean _
)
public static void SetIsSelected(
    UIElement element,
    bool isSelected
)
public:
static void SetIsSelected(
    UIElement^ element, 
    bool isSelected
)
static member SetIsSelected : 
        element:UIElement * 
        isSelected:bool -> unit
public static function SetIsSelected(
    element : UIElement, 
    isSelected : boolean
)

Parâmetros

  • element
    Tipo: UIElement

    O elemento.

  • isSelected
    Tipo: Boolean

    O valor de IsSelected.

Segurança do .NET Framework

Consulte também

Referência

IntraTextAdornment Classe

Namespace Microsoft.VisualStudio.Text.Editor