共用方式為


CommandBarButtonClass.Delete Method

Removes this control from the collection.

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

Syntax

'宣告
Public Overridable Sub Delete ( _
    Temporary As Object _
)
public virtual void Delete(
    Object Temporary
)

Parameters

  • Temporary
    Type: System.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