Share via


SendKeysAction.IsActionOnProtectedElement Method ()

 

Returns a value that indicates whether the associated element is protected.

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

Syntax

public bool IsActionOnProtectedElement()
public:
bool IsActionOnProtectedElement()
member IsActionOnProtectedElement : unit -> bool
Public Function IsActionOnProtectedElement As Boolean

Return Value

Type: System.Boolean

true if the value is encrypted or the IsEncoded property is true, or if the element is a password field; false if the text is equivalent to a Tab, Enter, or Escape key.

See Also

IsEncoded
Keys
SendKeysAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top