DesignerActionService.GetComponentServiceActions 方法

定義

擷取與元件相關聯的推入模型智慧標籤。

protected:
 virtual void GetComponentServiceActions(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::DesignerActionListCollection ^ actionLists);
protected virtual void GetComponentServiceActions (System.ComponentModel.IComponent component, System.ComponentModel.Design.DesignerActionListCollection actionLists);
abstract member GetComponentServiceActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
override this.GetComponentServiceActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
Protected Overridable Sub GetComponentServiceActions (component As IComponent, actionLists As DesignerActionListCollection)

參數

component
IComponent

智慧標籤所關聯的元件。

actionLists
DesignerActionListCollection

要加入相關聯智慧標籤的集合。

例外狀況

其中一或二個參數都為 null

備註

方法是 GetComponentServiceActions 方法的 GetComponentActions 協助程式方法。 它會搜尋 類型的 Service推播模型智慧標記,然後將這些標記新增至提供的 actionLists 集合。

適用於

另請參閱