DesignerActionService.Remove Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Kopplar bort en eller flera listor med smarta taggar från en eller flera komponenter.
Överlagringar
| Name | Description |
|---|---|
| Remove(DesignerActionList) |
Tar bort den angivna listan med smarta taggar från alla komponenter som hanteras av den aktuella tjänsten. |
| Remove(IComponent) |
Tar bort alla listor med smarta taggar som är associerade med den angivna komponenten. |
| Remove(IComponent, DesignerActionList) |
Tar bort den angivna listan med smarta taggar från den angivna komponenten. |
Remove(DesignerActionList)
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
Tar bort den angivna listan med smarta taggar från alla komponenter som hanteras av den aktuella tjänsten.
public:
void Remove(System::ComponentModel::Design::DesignerActionList ^ actionList);
public void Remove(System.ComponentModel.Design.DesignerActionList actionList);
member this.Remove : System.ComponentModel.Design.DesignerActionList -> unit
Public Sub Remove (actionList As DesignerActionList)
Parametrar
- actionList
- DesignerActionList
Listan över smarta taggar som ska tas bort.
Undantag
actionList är null.
Kommentarer
Den här versionen av Remove metoden används vanligtvis av utvecklare av designverktyg, eftersom komponentutvecklare vanligtvis inte vet vilka andra komponenter som finns i det aktuella designutrymmet.
Om det lyckas genererar den DesignerActionListsChanged här metoden händelsen.
Se även
- Add
- HideUI(IComponent)
- Clear()
- Designer-kommandon och DesignerAction-objektmodellen för Windows Forms
Gäller för
Remove(IComponent)
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
Tar bort alla listor med smarta taggar som är associerade med den angivna komponenten.
public:
void Remove(System::ComponentModel::IComponent ^ comp);
public void Remove(System.ComponentModel.IComponent comp);
member this.Remove : System.ComponentModel.IComponent -> unit
Public Sub Remove (comp As IComponent)
Parametrar
- comp
- IComponent
Komponenten som de smarta taggarna ska kopplas från.
Undantag
comp är null.
Kommentarer
Om det Remove lyckas genererar DesignerActionListsChanged metoden händelsen.
Se även
- Add
- HideUI(IComponent)
- Clear()
- Designer-kommandon och DesignerAction-objektmodellen för Windows Forms
Gäller för
Remove(IComponent, DesignerActionList)
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
- Källa:
- DesignerActionService.cs
Tar bort den angivna listan med smarta taggar från den angivna komponenten.
public:
void Remove(System::ComponentModel::IComponent ^ comp, System::ComponentModel::Design::DesignerActionList ^ actionList);
public void Remove(System.ComponentModel.IComponent comp, System.ComponentModel.Design.DesignerActionList actionList);
member this.Remove : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionList -> unit
Public Sub Remove (comp As IComponent, actionList As DesignerActionList)
Parametrar
- comp
- IComponent
Komponenten som de smarta taggarna ska kopplas från.
- actionList
- DesignerActionList
Listan med smarta taggar att ta bort.
Undantag
En eller båda parametrarna är null.
Kommentarer
Om det Remove lyckas genererar DesignerActionListsChanged metoden händelsen.
Se även
- Add
- HideUI(IComponent)
- Clear()
- Designer-kommandon och DesignerAction-objektmodellen för Windows Forms