Compartir a través de


IntraTextAdornment.SetIsSelected Method

Sets the IsSelected value on the specified UIElement.

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

Syntax

'Declaration
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
)

Parameters

  • element
    Type: UIElement

    The element.

  • isSelected
    Type: Boolean

    The IsSelected value.

.NET Framework Security

See Also

Reference

IntraTextAdornment Class

Microsoft.VisualStudio.Text.Editor Namespace