Condividi tramite


Metodo SendKeysAction.IsActionOnProtectedElement

restituisce un valore che indica se l'elemento associato è protetto.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintassi

'Dichiarazione
Public Function IsActionOnProtectedElement As Boolean
public bool IsActionOnProtectedElement()
public:
bool IsActionOnProtectedElement()
member IsActionOnProtectedElement : unit -> bool 
public function IsActionOnProtectedElement() : boolean

Valore restituito

Tipo: System.Boolean
true se il valore è crittografato né IsEncoded la proprietà è true, o se l'elemento è un campo della password; false se il testo è equivalente a un oggetto Tab, Enter, o Escape chiave.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SendKeysAction Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Common

IsEncoded

Keys