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: Boolean
true if the IsEncoded property of this action is true or the associated element is a password control; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.