DesignerActionService.GetComponentServiceActions 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索与组件关联的推送模型智能标记。
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 集合。