RuntimeArgument 类

定义

描述活动到运行时的参数的特征。

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, Boolean, List<String>)

使用名称、数据类型、参数方向、是否需要RuntimeArgument绑定到值以及重载组名称列表来初始化类的新实例RuntimeArgument

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

使用名称、数据类型、参数方向和一个值初始化类的新实例 RuntimeArgument ,该值指示是否需要 RuntimeArgument 绑定到值。

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

使用名称、数据类型、参数方向和重载组名称列表初始化类的新实例 RuntimeArgument

RuntimeArgument(String, Type, ArgumentDirection)

使用名称、数据类型和参数方向初始化类的新实例 RuntimeArgument

属性

名称 说明
Direction

获取数据流 RuntimeArgument的方向。

IsRequired

获取一个值,该值指示是否需要 RuntimeArgument 绑定到值。

Name

获取或设置 . 的名称 LocationReference

(继承自 LocationReference)
NameCore

由派生类实现时,获取或设置名称的文化 LocationReference本地化版本。

(继承自 LocationReference)
OverloadGroupNames

获取此 RuntimeArgument 重载组的列表。

Type

获取或设置 LocationReference该类型的值。

(继承自 LocationReference)
TypeCore

在派生类中实现时,获取或设置该类型的 LocationReference区域性本地化版本。

(继承自 LocationReference)

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
Get(ActivityContext)

获取使用指定活动上下文的值 RuntimeArgument

Get<T>(ActivityContext)

获取使用指定活动上下文的 RuntimeArgument 强类型值。

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetLocation(ActivityContext)

返回此RuntimeArgument对象的值Location

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
Set(ActivityContext, Object)

设置 . 的值 RuntimeArgument

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于