Share via


_CommandBarActiveX.Copy Method

This method is deprecated.

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

Syntax

'Declaration
Function Copy ( _
    Bar As Object, _
    Before As Object _
) As CommandBarControl
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: Object

    The bar.

  • Before
    Type: Object

    The object before which to copy.

Return Value

Type: Microsoft.VisualStudio.CommandBars.CommandBarControl
This method is deprecated.

.NET Framework Security

See Also

Reference

_CommandBarActiveX Interface

Microsoft.VisualStudio.CommandBars Namespace