CommandCollection.Count

説明

コレクション内のCommandオブジェクトの総数を表すLongを戻します。

C#構文

// get accessor

Int32 rtn = CommandCollection.Count;

VBScript の例

set oCommands = Application.Commands

logmessage "There are " & oCommands.Count & " command(s) in the collection"

関連項目

Command Application