RuntimeArgument 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向运行时描述活动的参数特征。
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(String, Type, ArgumentDirection) |
使用名称、数据类型和自变量方向初始化 RuntimeArgument 类的新实例。 |
| RuntimeArgument(String, Type, ArgumentDirection, Boolean) |
使用名称、数据类型、参数方向以及一个指示是否需要将 RuntimeArgument 绑定到一个值的值初始化 RuntimeArgument 类的新实例。 |
| RuntimeArgument(String, Type, ArgumentDirection, Boolean, List<String>) |
使用名称、数据类型、自变量方向、是否需要将 RuntimeArgument 绑定到一个值以及重载组名称的列表初始化 RuntimeArgument 类的新实例。 |
| RuntimeArgument(String, Type, ArgumentDirection, List<String>) |
使用名称、数据类型、自变量方向以及重载组名称的列表初始化 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) |
返回此 Location 的 RuntimeArgument。 |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
| Set(ActivityContext, Object) |
设置 RuntimeArgument 的值。 |
| ToString() |
返回表示当前对象的字符串。 (继承自 Object) |