次の方法で共有


CommandBarControls インターフェイス

定義

コマンド バーの CommandBarControl コマンド バー コントロールを表すオブジェクトのコレクション。

public interface class CommandBarControls : Microsoft::Office::Core::_IMsoDispObj, System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000C0306-0000-0000-C000-000000000046")]
public interface CommandBarControls : Microsoft.Office.Core._IMsoDispObj, System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("000C0306-0000-0000-C000-000000000046")>]
type CommandBarControls = interface
    interface _IMsoDispObj
    interface IEnumerable
Public Interface CommandBarControls
Implements _IMsoDispObj, IEnumerable
属性
実装

注釈

ControlsCommandBarControls コレクションを取得するには、 プロパティを使用します。

メソッドを Add(Object, Object, Object, Object, Object) 使用して、 CommandBarControls コレクションに新しいコマンド バー コントロールを追加します。

Controls(index) index は、コントロールのキャプションまたはインデックス番号を使用して、CommandBarControlCommandBarButtonCommandBarComboBoxまたは CommandBarPopup オブジェクトを返します。

プロパティ

Application

オブジェクトのコンテナー アプリケーションを表す Application オブジェクトを返します。

Count

指定したコレクション内の項目の数を示す整数型 ( Integer) の値を取得または設定します。

Creator

指定されたオブジェクトを作成したアプリケーションを示す 32 ビットの整数を取得します。

Item[Object]

コレクションからオブジェクトをCommandBarControlCommandBarControls返します。

Parent

指定したオブジェクトの Parent オブジェクトを返します。

メソッド

Add(Object, Object, Object, Object, Object)

CommandBarControl しいオブジェクトを作成し、指定したコマンド バーのコントロールのコレクションに追加します。

GetEnumerator()

コマンド バーの CommandBarControl コマンド バー コントロールを表すオブジェクトのコレクション。

適用対象