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 для методов . Он ищет смарт-теги модели push-уведомлений типа Service, а затем добавляет их в предоставленную actionLists коллекцию.

Применяется к

См. также раздел