語言

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 集合中。

適用於

另請參閱