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 UI test object, property name, 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 ( _
uiObject As UIObject, _
propertyName As String, _
parameterName As String _
)
public void CreateAndAddParameter(
UIObject uiObject,
string propertyName,
string parameterName
)
public:
void CreateAndAddParameter(
UIObject^ uiObject,
String^ propertyName,
String^ parameterName
)
member CreateAndAddParameter :
uiObject:UIObject *
propertyName:string *
parameterName:string -> unit
public function CreateAndAddParameter(
uiObject : UIObject,
propertyName : String,
parameterName : String
)
Parameters
- uiObject
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
A UIObject.
- propertyName
Type: System.String
The name of the property to associate with the parameter.
- 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