通过


DesignerAction 类

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

将对工作流设计图面上的活动设计器执行的操作与 <a0/> 相关联。 无法继承此类。

public ref class DesignerAction sealed
public sealed class DesignerAction
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class DesignerAction
type DesignerAction = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type DesignerAction = class
Public NotInheritable Class DesignerAction
继承
DesignerAction
属性

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

设计器操作是在工作流设计图面上激活设计器标志符号时执行的用户操作。 该 DesignerAction 类用于指示操作。 该 DesignerAction 类还用于通过装饰服务添加任务项。

构造函数

名称 说明
DesignerAction(ActivityDesigner, Int32, String, Image)
已过时.

使用ActivityDesigner整数、字符串和字符串Image初始化类的新实例DesignerAction

DesignerAction(ActivityDesigner, Int32, String)
已过时.

使用整数ActivityDesigner和字符串初始化类的新实例DesignerAction

属性

名称 说明
ActionId
已过时.

获取设计器操作的标识符。

Image
已过时.

获取与设计器操作关联的图像。

PropertyName
已过时.

表示与该属性关联的属性 DesignerAction 的名称。

Text
已过时.

获取与设计器操作关联的文本。

UserData
已过时.

获取与设计器操作关联的用户数据的字典。

方法

名称 说明
Equals(Object)
已过时.

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

(继承自 Object)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
Invoke()
已过时.

OnExecuteDesignerAction(DesignerAction)调用与当前设计器操作关联的活动设计器的方法。

MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
ToString()
已过时.

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

(继承自 Object)

适用于

另请参阅