ASP@Workshop 
HOME > ASPリファレンス > Drives コレクション > Count

Count (Drives コレクション)

object.Count

引数

object
Drives オブジェクトの名前を指定します。

解説

Drives コレクションの要素の数を返します。
Drives コレクションにはフォルダ内のすべての Drive オブジェクトが含まれています。
このプロパティは読み取り専用です。

使用例

Set objFso = Serrver.CreateObject("Scripting.FileSystemObject")

Response.Write objFso.Drives.Count

関連項目

Item



ASPリファレンス

FileSystemObject オブジェクト
Drive オブジェクト
Folder オブジェクト
File オブジェクト
Drives コレクション
Folders コレクション
Files コレクション


Copyright (C) 2006-2008 ASP@Workshop All rights reserved.