Argument 類別

定義

表示支援將資料傳入活動和從活動傳出資料之繫結終端機的抽象基底類別。The abstract base class that represents a binding terminal that supports the flow of data into and out of an activity.

public ref class Argument abstract
public abstract class Argument
type Argument = class
Public MustInherit Class Argument
繼承
Argument
衍生

欄位

ResultValue

表示 "Result" 的常數值,該值在運算式基底類別 Result 中會對應至型別 OutArgumentActivityWithResult 屬性名稱。Represents the constant value of "Result", which corresponds to the name of the Result property of type OutArgument in the expression base class ActivityWithResult.

UnspecifiedEvaluationOrder

表示未指定評估順序之引數的 EvaluationOrder 屬性值。Represents the value of the EvaluationOrder property for an argument with an unspecified evaluation order. 此值是唯讀的。This value is read-only.

屬性

ArgumentType

取得繫結至這個 Argument 資料的資料型別。Gets the data type for the data bound to this Argument.

Direction

取得 ArgumentDirection,指定 Argument 是否表示資料流程傳入活動、從活動傳出或由活動傳入與傳出。Gets an ArgumentDirection that specifies whether the Argument represents the flow of data into an activity, out of an activity, or both into and out of an activity.

EvaluationOrder

取得或設定指定評估引數順序之以零為起始的值。Gets or sets a zero-based value that specifies the order in which the argument is evaluated.

Expression

取得或設定 ActivityWithResult,表示繫結至這個 Argument 的資料值。Gets or sets an ActivityWithResult that represents the value of the data bound to this Argument.

方法

Create(Type, ArgumentDirection)

初始化並傳回新 ArgumentInitializes and returns a new Argument.

CreateReference(Argument, String)

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

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
Get(ActivityContext)

使用指定的活動內容取得引數的值。Gets the value of the argument using the specified activity context.

Get<T>(ActivityContext)

使用指定的型別和活動內容取得引數的值。Gets the value of the argument using the specified type and activity context.

GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetLocation(ActivityContext)

取得此 LocationArgumentGets the Location for this Argument.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
Set(ActivityContext, Object)

使用指定的活動內容設定引數的值。Sets the value of the argument using the specified activity context.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於