SetValueAction.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

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

Return Value

Type: System.Boolean
true if the IsEncoded property of this action is true or the associated element is a password control; otherwise, false.

.NET Framework Security

See Also

Reference

SetValueAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

IsEncoded