Aracılığıyla paylaş


DesignerActionService.GetComponentDesignerActions Yöntem

Tanım

Bir bileşenle ilişkili çekme modeli akıllı etiketlerini alır.

protected:
 virtual void GetComponentDesignerActions(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::DesignerActionListCollection ^ actionLists);
protected virtual void GetComponentDesignerActions(System.ComponentModel.IComponent component, System.ComponentModel.Design.DesignerActionListCollection actionLists);
abstract member GetComponentDesignerActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
override this.GetComponentDesignerActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
Protected Overridable Sub GetComponentDesignerActions (component As IComponent, actionLists As DesignerActionListCollection)

Parametreler

component
IComponent

Akıllı etiketlerin ilişkili olduğu bileşen.

actionLists
DesignerActionListCollection

İlişkili akıllı etiketlerin ekleneceği koleksiyon.

Özel durumlar

Parametrelerin biri veya her ikisi de şeklindedir null.

Açıklamalar

GetComponentDesignerActions yöntemi, yöntemler için GetComponentActions yardımcı bir yöntemdir. GetComponentDesignerActions türünde Componentçekme modeli akıllı etiketlerini arar ve bunları sağlanan actionLists koleksiyona ekler.

Bileşenin geliştiricisi, tasarımcı özelliği aracılığıyla ActionLists açık bir akıllı etiket koleksiyonu sağlamazsa, bu yöntem tasarımcının özelliği aracılığıyla Verbs elde edilen tasarım zamanı kısayol menüsü girişlerini yeniden kullanır.

Şunlara uygulanır

Ayrıca bkz.