Прочетете на английски Редактиране

Споделяне чрез


OutArgument.CreateReference Method

Definition

Creates a new OutArgument that references the specified target argument using the specified referenced argument name.

Overloads

CreateReference(InOutArgument, String)

Creates a new OutArgument that references the specified target InOutArgument using the specified referenced argument name.

CreateReference(OutArgument, String)

Creates a new OutArgument that references the specified target OutArgument using the specified referenced argument name.

CreateReference(InOutArgument, String)

Creates a new OutArgument that references the specified target InOutArgument using the specified referenced argument name.

C#
public static System.Activities.OutArgument CreateReference(System.Activities.InOutArgument argumentToReference, string referencedArgumentName);

Parameters

argumentToReference
InOutArgument

The target in/out argument to reference.

referencedArgumentName
String

The name of the referenced argument.

Returns

A new out argument that references the specified target InOutArgument.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateReference(OutArgument, String)

Creates a new OutArgument that references the specified target OutArgument using the specified referenced argument name.

C#
public static System.Activities.OutArgument CreateReference(System.Activities.OutArgument argumentToReference, string referencedArgumentName);

Parameters

argumentToReference
OutArgument

The target out argument to reference.

referencedArgumentName
String

The name of the referenced argument.

Returns

A new out argument that references the specified target OutArgument.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1