Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.UITestAction
A UITestAction object to parameterize.
- parameterName
Type: System.String
The 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