Argument.CreateReference(Argument, String) 方法

定义

使用指定的引用自变量名称创建一个引用指定的目标自变量的新自变量。Creates a new argument that references the specified target argument using the specified referenced argument name.

public:
 static System::Activities::Argument ^ CreateReference(System::Activities::Argument ^ argumentToReference, System::String ^ referencedArgumentName);
public static System.Activities.Argument CreateReference (System.Activities.Argument argumentToReference, string referencedArgumentName);
static member CreateReference : System.Activities.Argument * string -> System.Activities.Argument
Public Shared Function CreateReference (argumentToReference As Argument, referencedArgumentName As String) As Argument

参数

argumentToReference
Argument

要引用的目标自变量。The target argument to reference.

referencedArgumentName
String

所引用自变量的名称。The name of the referenced argument.

返回

Argument

引用指定的目标自变量的新自变量。A new argument that references the specified target argument.

适用于