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

适用于

另请参阅