共用方式為


CommandBarsClass.Count Property

Gets the number of CommandBars objects this contains.

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

Syntax

'宣告
Public Overridable ReadOnly Property Count As Integer
    Get
'用途
Dim instance As CommandBarsClass
Dim value As Integer

value = instance.Count
public virtual int Count { get; }
public:
virtual property int Count {
    int get ();
}
abstract Count : int
override Count : int
function get Count () : int

Property Value

Type: System.Int32
The number of CommandBars objects this contains.

Implements

_CommandBars.Count

.NET Framework Security

See Also

Reference

CommandBarsClass Class

CommandBarsClass Members

Microsoft.VisualStudio.CommandBars Namespace