_CommandBarButton.Delete Method (Object)
Removes this control from the collection.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Dichiarazione
Sub Delete ( _
Temporary As Object _
)
'Utilizzo
Dim instance As _CommandBarButton
Dim Temporary As Object
instance.Delete(Temporary)
void Delete(
Object Temporary
)
void Delete(
[InAttribute] Object^ Temporary
)
abstract Delete :
Temporary:Object -> unit
function Delete(
Temporary : Object
)
Parameters
- Temporary
Type: System.Object
true if the removal is temporary, otherwise false.
Implements
CommandBarControl.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.