DesignerActionService.GetComponentActions Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bir bileşenle ilişkilendirilmiş akıllı etiket öğesi listelerinin koleksiyonunu döndürür.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| GetComponentActions(IComponent) |
Bir bileşenle ilişkilendirilmiş akıllı etiket öğesi listelerinin koleksiyonunu döndürür. |
| GetComponentActions(IComponent, ComponentActionsType) |
Bir bileşenle ilişkilendirilmiş belirtilen türdeki akıllı etiket öğesi listelerinin koleksiyonunu döndürür. |
| GetComponentActions(IComponent, ComponentActionsType) |
Bir bileşenle ilişkilendirilmiş belirtilen türdeki tasarımcı eylem öğesi listelerinin koleksiyonunu döndürür. |
GetComponentActions(IComponent)
- Kaynak:
- DesignerActionService.cs
- Kaynak:
- DesignerActionService.cs
- Kaynak:
- DesignerActionService.cs
- Kaynak:
- DesignerActionService.cs
- Kaynak:
- DesignerActionService.cs
Bir bileşenle ilişkilendirilmiş akıllı etiket öğesi listelerinin koleksiyonunu döndürür.
public:
System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component);
public System.ComponentModel.Design.DesignerActionListCollection GetComponentActions(System.ComponentModel.IComponent component);
member this.GetComponentActions : System.ComponentModel.IComponent -> System.ComponentModel.Design.DesignerActionListCollection
Public Function GetComponentActions (component As IComponent) As DesignerActionListCollection
Parametreler
- component
- IComponent
Akıllı etiketlerin ilişkili olduğu bileşen.
Döndürülenler
Belirtilen bileşen için akıllı etiketler koleksiyonu.
Özel durumlar
component, null'e eşittir.
Açıklamalar
GetComponentActions yöntemi, parametresini kullanarak yöntemine yapılan GetComponentActions(IComponent, ComponentActionsType) çağrıya type eşdeğerdirAll. Bu nedenle, döndürülen koleksiyon akıllı etiketlerin hem gönderme hem de çekme listelerini içerir.
Döndürülen DesignerActionListCollection , yöntemler aracılığıyla Add eklenen öğe listelerinin ve ayrıca bileşenin sitesinden alınan örnekten DesignerCommandSet alınan listelerin birleşimidir.
Ayrıca bkz.
- GetComponentDesignerActions(IComponent, DesignerActionListCollection)
- GetComponentServiceActions(IComponent, DesignerActionListCollection)
- Add
- DesignerCommandSet
- Tasarımcı Komutları ve Windows Forms için DesignerAction Nesne Modeli
Şunlara uygulanır
GetComponentActions(IComponent, ComponentActionsType)
Bir bileşenle ilişkilendirilmiş belirtilen türdeki akıllı etiket öğesi listelerinin koleksiyonunu döndürür.
public:
virtual System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::ComponentActionsType type);
public virtual System.ComponentModel.Design.DesignerActionListCollection GetComponentActions(System.ComponentModel.IComponent component, System.ComponentModel.Design.ComponentActionsType type);
abstract member GetComponentActions : System.ComponentModel.IComponent * System.ComponentModel.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
override this.GetComponentActions : System.ComponentModel.IComponent * System.ComponentModel.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
Public Overridable Function GetComponentActions (component As IComponent, type As ComponentActionsType) As DesignerActionListCollection
Parametreler
- component
- IComponent
Akıllı etiketlerin ilişkili olduğu bileşen.
- type
- ComponentActionsType
ComponentActionsType İlişkili akıllı etiketleri ile filtrelemek için.
Döndürülenler
Belirtilen bileşen için belirtilen türdeki akıllı etiketlerin koleksiyonu.
Özel durumlar
component, null'e eşittir.
Açıklamalar
Aşırı yüklenmiş GetComponentActions yöntemin bu sürümü parametresine type filtre uygular ve bu da aşağıdaki değerlerden birine sahip olabilir.
| Değer | Açıklama |
|---|---|
| All | Tüm ilişkili akıllı etiketler. |
| Component | Yalnızca çekme modeli akıllı etiketleri. |
| Service | Yalnızca anında iletme modeli akıllı etiketleri. |
Bir bileşenin ilişkili tasarımcısı bir çekme modeli akıllı etiket listesi sağlamazsa, GetComponentActions yöntem bunun yerine tasarımcının özellikten Verbs tasarım zamanı kısayol menü öğelerini kullanır.
Ayrıca bkz.
- GetComponentDesignerActions(IComponent, DesignerActionListCollection)
- GetComponentServiceActions(IComponent, DesignerActionListCollection)
- DesignerActionListCollection
- DesignerVerb
- ComponentActionsType
- Tasarımcı Komutları ve Windows Forms için DesignerAction Nesne Modeli
Şunlara uygulanır
GetComponentActions(IComponent, ComponentActionsType)
- Kaynak:
- DesignerActionService.cs
- Kaynak:
- DesignerActionService.cs
- Kaynak:
- DesignerActionService.cs
- Kaynak:
- DesignerActionService.cs
- Kaynak:
- DesignerActionService.cs
Bir bileşenle ilişkilendirilmiş belirtilen türdeki tasarımcı eylem öğesi listelerinin koleksiyonunu döndürür.
public:
virtual System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component, System::Windows::Forms::Design::ComponentActionsType type);
public virtual System.ComponentModel.Design.DesignerActionListCollection GetComponentActions(System.ComponentModel.IComponent component, System.Windows.Forms.Design.ComponentActionsType type);
abstract member GetComponentActions : System.ComponentModel.IComponent * System.Windows.Forms.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
override this.GetComponentActions : System.ComponentModel.IComponent * System.Windows.Forms.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
Public Overridable Function GetComponentActions (component As IComponent, type As ComponentActionsType) As DesignerActionListCollection
Parametreler
- component
- IComponent
DesignerActions'ın ilişkili olduğu bileşen.
- type
- ComponentActionsType
ComponentActionsType İlişkili tasarımcı eylemlerini filtrelemek için.
Döndürülenler
Belirtilen bileşen için belirtilen türdeki tasarımcı eylemleri koleksiyonu.
Özel durumlar
component, null'e eşittir.
Açıklamalar
Aşırı yüklenmiş GetComponentActions yöntemin bu sürümü parametresine type filtre uygular ve bu da aşağıdaki değerlerden birine sahip olabilir.
| Değer | Açıklama |
|---|---|
| All | Tüm ilişkili tasarımcı eylemleri. |
| Component | Yalnızca çekme modeli tasarımcısı eylemleri. |
| Service | Yalnızca push-model tasarımcısı eylemleri. |
Bir bileşenin ilişkili tasarımcısı bir çekme modeli tasarımcısı eylem listesi sağlamazsa, GetComponentActions yöntem bunun yerine tasarımcının özellikten Verbs tasarım zamanı kısayol menü öğelerini kullanır.