_CommandBarButton.Delete Method

Removes this control from the collection.

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

Syntax

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

Parameters

  • Temporary
    Type: Object

    true if the removal is temporary, otherwise false.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Microsoft.VisualStudio.CommandBars Namespace