Metodo IntraTextAdornment.GetIsSelected
Ottiene il valore IsSelected in l specificato UIElement.
Spazio dei nomi: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Sintassi
'Dichiarazione
Public Shared Function GetIsSelected ( _
element As UIElement _
) As Boolean
public static bool GetIsSelected(
UIElement element
)
public:
static bool GetIsSelected(
UIElement^ element
)
static member GetIsSelected :
element:UIElement -> bool
public static function GetIsSelected(
element : UIElement
) : boolean
Parametri
element
Tipo: UIElementl'elemento.
Valore restituito
Tipo: Boolean
true se l'elemento è selezionato, altrimenti false.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.