RuntimeArgument 類別

定義

向執行階段描述活動引數的特性。Describes the characteristics of an argument of an activity to the runtime.

public ref class RuntimeArgument sealed : System::Activities::LocationReference
public sealed class RuntimeArgument : System.Activities.LocationReference
type RuntimeArgument = class
    inherit LocationReference
Public NotInheritable Class RuntimeArgument
Inherits LocationReference
繼承
RuntimeArgument

建構函式

RuntimeArgument(String, Type, ArgumentDirection)

使用名稱、資料型別和引數方向,初始化 RuntimeArgument 類別的新執行個體。Initializes a new instance of the RuntimeArgument class using a name, data type, and argument direction.

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

使用名稱、資料型別、引數方向和表示 RuntimeArgument 是否需要與值繫結的值,初始化 RuntimeArgument 類別的新執行個體。Initializes a new instance of the RuntimeArgument class using a name, data type, argument direction, and a value that indicates whether the RuntimeArgument is required to be bound to a value.

RuntimeArgument(String, Type, ArgumentDirection, Boolean, List<String>)

使用名稱、資料型別、引數方向、RuntimeArgument 是否需要與值繫結以及多載群組名稱清單,初始化 RuntimeArgument 類別的新執行個體。Initializes a new instance of the RuntimeArgument class with a name, data type, argument direction, whether the RuntimeArgument is required to be bound to a value, and a list of overload group names.

RuntimeArgument(String, Type, ArgumentDirection, List<String>)

使用名稱、資料型別、引數方向和多載群組名稱的清單,初始化 RuntimeArgument 類別的新執行個體。Initializes a new instance of the RuntimeArgument class using a name, data type, argument direction, and a list of overload group names.

屬性

Direction

取得流經這個 RuntimeArgument 的資料流程方向。Gets the direction of the data flow through this RuntimeArgument.

IsRequired

取得值,這個值表示 RuntimeArgument 是否需要與值繫結。Gets a value that indicates whether the RuntimeArgument is required to be bound to a value.

Name

取得或設定 LocationReference 的名稱。Gets or sets the name of the LocationReference.

(繼承來源 LocationReference)
NameCore

由衍生類別實作時,取得或設定 LocationReference 名稱的當地語系化版本。When implemented by a derived class, gets or sets the culturally localized version of the name of the LocationReference.

(繼承來源 LocationReference)
OverloadGroupNames

取得這個 RuntimeArgument 所屬的多載群組清單。Gets a list of the overload groups that this RuntimeArgument belongs to.

Type

取得或設定 LocationReference 的型別。Gets or sets the type of the LocationReference.

(繼承來源 LocationReference)
TypeCore

在衍生類別中實作時,取得或設定 LocationReference 型別的當地語系化版本。When implemented in a derived class, gets or sets the culturally localized version of the type of the LocationReference.

(繼承來源 LocationReference)

方法

Equals(Object)

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

(繼承來源 Object)
Get(ActivityContext)

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

Get<T>(ActivityContext)

使用指定的活動內容,取得 RuntimeArgument 之強型別的值。Gets the strongly-typed value of the RuntimeArgument using the specified activity context.

GetHashCode()

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

(繼承來源 Object)
GetLocation(ActivityContext)

傳回這個 LocationRuntimeArgumentReturns the Location for this RuntimeArgument.

GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

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

設定 RuntimeArgument 的值。Sets the value of the RuntimeArgument.

ToString()

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

(繼承來源 Object)

適用於