FileSystem.Drives プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > FileSystem.Drives プロパティの意味・解説 

FileSystem.Drives プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

利用可能すべてのドライブ名読み取り専用コレクション返します

名前空間: Microsoft.VisualBasic.FileIO
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文構文

Public Shared ReadOnly Property
 Drives As ReadOnlyCollection(Of DriveInfo)
Dim value As ReadOnlyCollection(Of
 DriveInfo)

value = FileSystem.Drives
public static ReadOnlyCollection<DriveInfo>
 Drives { get; }
public:
static property ReadOnlyCollection<DriveInfo^>^ Drives {
    ReadOnlyCollection<DriveInfo^>^ get ();
}
/** @property */
public static ReadOnlyCollection<DriveInfo>
 get_Drives ()
public static function get
 Drives () : ReadOnlyCollection<DriveInfo>

プロパティ
System.Collections.ObjectModel.ReadOnlyCollection (System.IO.DriveInfo)

解説解説
使用例使用例

この例では、利用可能ドライブ名メッセージ ボックス表示します

 Dim getInfo As System.IO.DriveInfo()
        getInfo = System.IO.DriveInfo.GetDrives
For each info As System.IO.DriveInfo
 in getInfo
   MsgBox(info.name)
Next
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileSystem クラス
FileSystem メンバ
Microsoft.VisualBasic.FileIO 名前空間
System.Collections.ObjectModel.ReadOnlyCollection
System.IO.DriveInfo
FileSystem.Drives プロパティ
その他の技術情報
My.Computer.FileSystem.Drives プロパティ
My.Computer.FileSystem オブジェクト
Visual Basic におけるファイルディレクトリ、およびドライブプロパティ



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「FileSystem.Drives プロパティ」の関連用語

FileSystem.Drives プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



FileSystem.Drives プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS