Condividi tramite


Proprietà UITestAction.IsParameterBound

 

Se l'azione può essere parametrizzata, ottiene o imposta un valore che indica se l'azione è associata a un parametro di test.

Spazio dei nomi:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintassi

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

Valore proprietà

Type: System.Boolean

true se l'azione è associata a un parametro di test. In caso contrario false.

Eccezioni

Exception Condition
NotSupportedException

La proprietà IsParameterizable è false.Ciò significa che all'azione non è possibile aggiungere parametri.

Note

Genera l'evento PropertyChanged quando il valore viene impostato.

Vedere anche

IsParameterizable
PropertyChanged
Classe UITestAction
Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Common

Torna all'inizio