Bagikan melalui


DesignerActionService.GetComponentServiceActions Metode

Definisi

Mengambil tag pintar model pendorongan yang terkait dengan komponen.

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)

Parameter

component
IComponent

Komponen yang terkait dengan tag pintar.

actionLists
DesignerActionListCollection

Koleksi untuk menambahkan tag pintar terkait.

Pengecualian

Salah satu atau kedua parameternya adalah null.

Keterangan

Metode GetComponentServiceActions ini adalah metode pembantu untuk metode .GetComponentActions Ini mencari tag pintar model pendorongan jenis Service, dan kemudian menambahkannya ke koleksi yang disediakan actionLists .

Berlaku untuk

Lihat juga