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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.