Count (WshSpecialFolders オブジェクト)

object.Count

引数

object
WshShell の名前を指定します。


解説

WshSpecialFolders のコレクション数を返します。
このプロパティは読み取り専用です。


使用例
Set WshShell = CreateObject("WScript.Shell")

Wscript.echo WshShell.SpecialFolders.Count


Count (WshSpecialFolders オブジェクト) に関連する項目

ItemWshSpecialFolders コレクションから、指定されたアイテムを返します。
SpecialFoldersSpecialFoldersオブジェクトを返します。




WSH講座



WSHリファレンス

組み込みオブジェクト




ファイル操作オブジェクト


Copyright (C) WSH@Workshop All rights reserved.