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: Objecttrue 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.