InArgument.CreateReference 方法

定义

使用指定的引用参数名称创建一个引用指定目标参数的新 InArgumentCreates a new InArgument that references the specified target argument using the specified referenced argument name.

重载

CreateReference(InArgument, String)

使用指定的引用参数名称创建一个引用指定目标 InArgument 的新 InArgumentCreates a new InArgument that references the specified target InArgument using the specified referenced argument name.

CreateReference(InOutArgument, String)

使用指定的引用参数名称创建一个引用指定目标 InArgument 的新 InOutArgumentCreates a new InArgument that references the specified target InOutArgument using the specified referenced argument name.

CreateReference(InArgument, String)

使用指定的引用参数名称创建一个引用指定目标 InArgument 的新 InArgumentCreates a new InArgument that references the specified target InArgument using the specified referenced argument name.

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

参数

argumentToReference
InArgument

要引用的in目标参数。The target in argument to reference.

referencedArgumentName
String

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

返回

InArgument

一个新的 in,它引用指定的目标 InArgumentA new in argument that references the specified target InArgument.

适用于

CreateReference(InOutArgument, String)

使用指定的引用参数名称创建一个引用指定目标 InArgument 的新 InOutArgumentCreates a new InArgument that references the specified target InOutArgument using the specified referenced argument name.

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

参数

argumentToReference
InOutArgument

要引用的in/out目标参数。The target in/out argument to reference.

referencedArgumentName
String

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

返回

InArgument

一个新的 in,它引用指定的目标 InOutArgumentA new in argument that references the specified target InOutArgument.

适用于