Udostępnij za pośrednictwem


UITestAction.IsParameterBound Property

If this action can be parameterized, gets or sets a value that indicates whether the action is bound to a test parameter.

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

Syntax

'Declaration
Public Property IsParameterBound As Boolean
public bool IsParameterBound { get; set; }
public:
property bool IsParameterBound {
    bool get ();
    void set (bool value);
}
member IsParameterBound : bool with get, set
function get IsParameterBound () : boolean
function set IsParameterBound (value : boolean)

Property Value

Type: System.Boolean
true if the action is bound to a test parameter; otherwise, false.

Exceptions

Exception Condition
NotSupportedException

The IsParameterizable property is false. This means this action cannot be parameterized.

Remarks

Raises the PropertyChanged event when the value is set.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

IsParameterizable

PropertyChanged