Partager via


CommandBarButtonClass.Delete Method

Removes this control from the collection.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
Public Overridable Sub Delete ( _
    Temporary As Object _
)
public virtual void Delete(
    Object Temporary
)
public:
virtual void Delete(
    [InAttribute] Object^ Temporary
)
abstract Delete : 
        Temporary:Object -> unit  
override Delete : 
        Temporary:Object -> unit
public function Delete(
    Temporary : Object
)

Parameters

  • Temporary
    Type: Object

    true if the removal is temporary, otherwise false.

Implements

_CommandBarButton.Delete(Object)

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace