Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.UIObjectA UIObject.
propertyName
Type: StringThe name of the property to associate with the parameter.
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