InOutArgument.CreateReference(InOutArgument, String) 方法

定義

使用指定參考的引數名稱,建立參考指定之目標 InOutArgument 的新 InOutArgumentCreates a new InOutArgument that references the specified target InOutArgument using the specified referenced argument name.

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

參數

argumentToReference
InOutArgument

要參考的目標 in/out 引數。The target in/out argument to reference.

referencedArgumentName
String

參考引數的名稱。The name of the referenced argument.

傳回

InOutArgument

新的 in/out 引數,會參考指定的目標 InOutArgumentA new in/out argument that references the specified target InOutArgument.

適用於