📜  来自另一个脚本“winforms”的引用变量c#代码示例

📅  最后修改于: 2022-03-11 14:48:43.340000             🧑  作者: Mango

代码示例1
// Assign the value of the extracted variable from the recorded step 'ExtractedVar' to a variable to use in the code
var extrVariableInCode = GetExtractedValue("ExtractedVar");

// Insert the necessary custom code to modify the exctracted value and assign it to a string variable
string newValue = "newValueToAssign";

// Assign the modified variable to a new extracted variable
SetExtractedValue("ModifiedExtrVariable", newValue);