_CommandBarActiveX.Copy Method
This method is deprecated.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
Function Copy ( _
Bar As Object, _
Before As Object _
) As CommandBarControl
'用途
Dim instance As _CommandBarActiveX
Dim Bar As Object
Dim Before As Object
Dim returnValue As CommandBarControl
returnValue = instance.Copy(Bar, Before)
CommandBarControl Copy(
Object Bar,
Object Before
)
CommandBarControl^ Copy(
[InAttribute] Object^ Bar,
[InAttribute] Object^ Before
)
abstract Copy :
Bar:Object *
Before:Object -> CommandBarControl
function Copy(
Bar : Object,
Before : Object
) : CommandBarControl
Parameters
- Bar
Type: System.Object
The bar.
- Before
Type: System.Object
The object before which to copy.
Return Value
Type: Microsoft.VisualStudio.CommandBars.CommandBarControl
This method is deprecated.
Implements
CommandBarControl.Copy(Object, 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.