ActivityToolboxItem 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
提供工作流程設計器中與活動相關的所有工具箱項目的基底類別。
public ref class ActivityToolboxItem : System::Drawing::Design::ToolboxItem
[System.Serializable]
public class ActivityToolboxItem : System.Drawing.Design.ToolboxItem
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class ActivityToolboxItem : System.Drawing.Design.ToolboxItem
[<System.Serializable>]
type ActivityToolboxItem = class
inherit ToolboxItem
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActivityToolboxItem = class
inherit ToolboxItem
Public Class ActivityToolboxItem
Inherits ToolboxItem
- 繼承
- 屬性
備註
Note
此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的
所有與 Activity 類別相關聯的工具箱項目皆源自 ActivityToolboxItem。 此類別在設計時環境的工具箱中顯示該類別的圖形表示 Activity ,並在使用者將類別拖曳到設計表面時,建立該類別的實例 Activity 。 活動工具箱項目通常代表在設計模式文件中呼叫時要建立的活動。
此類別直接繼承自該 ToolboxItem 類別。
建構函式
| 名稱 | Description |
|---|---|
| ActivityToolboxItem() |
已淘汰.
初始化 ActivityToolboxItem 類別的新執行個體。 |
| ActivityToolboxItem(SerializationInfo, StreamingContext) |
已淘汰.
透過指定的 ActivityToolboxItem 和 SerializationInfo初始化該類別的新實例StreamingContext。 |
| ActivityToolboxItem(Type) |
已淘汰.
初始化一個新的類別實例 ActivityToolboxItem ,創建指定類型的 Activity 元件。 |
屬性
| 名稱 | Description |
|---|---|
| AssemblyName |
已淘汰.
取得或設定包含工具箱項目所建立類型或類型的組件名稱。 (繼承來源 ToolboxItem) |
| Bitmap |
已淘汰.
取得或設定一個點陣圖來代表工具箱中的工具箱項目。 (繼承來源 ToolboxItem) |
| Company |
已淘汰.
取得或設定公司 ToolboxItem名稱。 (繼承來源 ToolboxItem) |
| ComponentType |
已淘汰.
取得這個 ToolboxItem元件類型。 (繼承來源 ToolboxItem) |
| DependentAssemblies |
已淘汰.
拿到或設定 AssemblyName 工具箱裡的物品。 (繼承來源 ToolboxItem) |
| Description |
已淘汰.
取得或設定了這個 ToolboxItem描述。 (繼承來源 ToolboxItem) |
| DisplayName |
已淘汰.
取得或設定工具箱項目的顯示名稱。 (繼承來源 ToolboxItem) |
| Filter |
已淘汰.
取得或設定篩選條件,判斷工具箱項目是否能用於目的地元件。 (繼承來源 ToolboxItem) |
| IsTransient |
已淘汰.
會得到一個值,表示工具箱物品是否為暫時性。 (繼承來源 ToolboxItem) |
| Locked |
已淘汰.
會得到一個值,表示目前 ToolboxItem 是否被鎖定。 (繼承來源 ToolboxItem) |
| OriginalBitmap |
已淘汰.
取得或設定原始點陣圖,這些點陣圖將用於此項目的工具箱中。 (繼承來源 ToolboxItem) |
| Properties |
已淘汰.
拿到一本性質字典。 (繼承來源 ToolboxItem) |
| TypeName |
已淘汰.
取得或設定工具箱項目在被呼叫時所產生的類型 IComponent 的完整限定名稱。 (繼承來源 ToolboxItem) |
| Version |
已淘汰.
我會拿到這個 ToolboxItem版本。 (繼承來源 ToolboxItem) |
方法
事件
| 名稱 | Description |
|---|---|
| ComponentsCreated |
已淘汰.
在元件建立後立即發生。 (繼承來源 ToolboxItem) |
| ComponentsCreating |
已淘汰.
當元件即將被建立時,會發生這種情況。 (繼承來源 ToolboxItem) |
明確介面實作
| 名稱 | Description |
|---|---|
| ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
已淘汰.
關於此成員的描述,請參見方法。GetObjectData(SerializationInfo, StreamingContext) (繼承來源 ToolboxItem) |