Share via


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

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

.NET Framework Security

See Also

Reference

IntraTextAdornment Class

Microsoft.VisualStudio.Text.Editor Namespace