SendKeysAction.IsActionOnProtectedElement-Methode

Gibt einen Wert zurück, der angibt, ob das zugeordnete Element geschützt ist.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

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

Rückgabewert

Typ: System.Boolean
true, wenn der Wert verschlüsselt ist, wenn die IsEncoded-Eigenschaft gleich true ist oder wenn es sich bei dem Element um ein Kennwortfeld handelt. false, wenn der Text einem Schlüssel vom Typ Tab, Enter oder Escape entspricht.

.NET Framework-Sicherheit

Siehe auch

Referenz

SendKeysAction Klasse

Microsoft.VisualStudio.TestTools.UITest.Common-Namespace

IsEncoded

Keys