DesignerActionService.GetComponentServiceActions(IComponent, DesignerActionListCollection) 方法

定义

检索与组件关联的推模型智能标记。Retrieves the push-model smart tags associated with a component.

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

与智能标记关联的组件。The component that the smart tags are associated with.

actionLists
DesignerActionListCollection

要添加关联智能标记的集合。The collection to add the associated smart tags to.

异常

两个参数之一或两个参数均为 nullOne or both of the parameters are null.

注解

方法是GetComponentActions方法的帮助器方法。 GetComponentServiceActionsThe GetComponentServiceActions method is a helper method for the GetComponentActions methods. 它搜索类型Service的推送模型智能标记, 然后将它们添加到提供actionLists的集合中。It searches for push-model smart tags of type Service, and then adds these to the supplied actionLists collection.

适用于

另请参阅