DesignerAction DesignerAction DesignerAction DesignerAction Class

定義

警告

此 API 現已淘汰。

將工作流程設計介面上的活動設計工具發生的動作與 ActivityDesigner 相關聯。Associates an action taken on an activity designer on the workflow design surface with the ActivityDesigner. 這個類別無法被繼承。This class cannot be inherited.

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

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

設計工具動作是在啟動工作流程設計介面上的設計工具圖像 (Glyph) 時執行的使用者動作。A designer action is a user action that is performed when you activate a designer glyph on the workflow design surface. DesignerAction 類別可以用來指出您的動作。The DesignerAction class is used to indicate your actions. DesignerAction 類別也可以用來透過裝飾服務加入工作項目。The DesignerAction class is also used to add the task items by the adornment service.

建構函式

DesignerAction(ActivityDesigner, Int32, String) DesignerAction(ActivityDesigner, Int32, String) DesignerAction(ActivityDesigner, Int32, String) DesignerAction(ActivityDesigner, Int32, String)

使用 DesignerAction、整數和字串來初始化 ActivityDesigner 類別的新執行個體。Initializes a new instance of the DesignerAction class by using an ActivityDesigner, an integer, and a string.

DesignerAction(ActivityDesigner, Int32, String, Image) DesignerAction(ActivityDesigner, Int32, String, Image) DesignerAction(ActivityDesigner, Int32, String, Image) DesignerAction(ActivityDesigner, Int32, String, Image)

使用 DesignerAction、整數、字串和 ActivityDesignerImage來初始化 類別的新執行個體。Initializes a new instance of the DesignerAction class by using ActivityDesigner, an integer, a string, and an Image.

屬性

ActionId ActionId ActionId ActionId

取得設計工具動作的識別項。Gets the identifier for the designer action.

Image Image Image Image

取得與設計工具動作關聯的影像。Gets the image associated with the designer action.

PropertyName PropertyName PropertyName PropertyName

表示與 DesignerAction 關聯之屬性的名稱。Represents the name of the property that the DesignerAction is associated with.

Text Text Text Text

取得與設計工具動作關聯的文字。Gets the text associated with the designer action.

UserData UserData UserData UserData

取得與設計工具動作關聯的使用者資料字典。Gets a dictionary of user data associated with the designer action.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
Invoke() Invoke() Invoke() Invoke()

叫用與目前設計工具動作關聯的活動設計工具 OnExecuteDesignerAction(DesignerAction) 方法。Invokes the OnExecuteDesignerAction(DesignerAction) method of the activity designer associated with the current designer action.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

適用於

另請參閱