共用方式為


CommandBarsClass Class

Represents the set of CommandBar objects.

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

Syntax

'宣告
<ClassInterfaceAttribute()> _
<GuidAttribute("2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")> _
Public Class CommandBarsClass _
    Implements _CommandBars, CommandBars, _CommandBarsEvents_Event, IEnumerable
'用途
Dim instance As CommandBarsClass
[ClassInterfaceAttribute()]
[GuidAttribute("2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")]
public class CommandBarsClass : _CommandBars, 
    CommandBars, _CommandBarsEvents_Event, IEnumerable
[ClassInterfaceAttribute()]
[GuidAttribute(L"2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")]
public ref class CommandBarsClass : _CommandBars, 
    CommandBars, _CommandBarsEvents_Event, IEnumerable
[<ClassInterfaceAttribute()>]
[<GuidAttribute("2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")>]
type CommandBarsClass =  
    class
        interface _CommandBars
        interface CommandBars
        interface _CommandBarsEvents_Event
        interface IEnumerable
    end
public class CommandBarsClass implements _CommandBars, CommandBars, _CommandBarsEvents_Event, IEnumerable

Remarks

This class implements the interface _CommandBars and _CommandBarsEvents_Event, and inherits from the class CommandBars.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.CommandBars.CommandBarsClass

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CommandBarsClass Members

Microsoft.VisualStudio.CommandBars Namespace