UITest.CreateAndAddParameter Method (UITestAction, String)
Parameterizes an action and creates the parameter by using the provided test action and parameter name.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub CreateAndAddParameter ( _
action As UITestAction, _
parameterName As String _
)
public void CreateAndAddParameter(
UITestAction action,
string parameterName
)
public:
void CreateAndAddParameter(
UITestAction^ action,
String^ parameterName
)
member CreateAndAddParameter :
action:UITestAction *
parameterName:string -> unit
public function CreateAndAddParameter(
action : UITestAction,
parameterName : String
)
Parameters
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object to parameterize.
parameterName
Type: StringThe name of the parameter.
.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.
See Also
Reference
CreateAndAddParameter Overload