DirectoryInfoWrapper クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DirectoryInfoのインスタンスをラップし、DirectoryInfoBaseの実装を提供します。
public ref class DirectoryInfoWrapper : Microsoft::Extensions::FileSystemGlobbing::Abstractions::DirectoryInfoBase
public class DirectoryInfoWrapper : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase
type DirectoryInfoWrapper = class
inherit DirectoryInfoBase
Public Class DirectoryInfoWrapper
Inherits DirectoryInfoBase
- 継承
コンストラクター
| 名前 | 説明 |
|---|---|
| DirectoryInfoWrapper(DirectoryInfo) |
DirectoryInfoWrapperのインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| FullName |
ディレクトリへの完全なパスを返します。 |
| Name |
ファイルまたはディレクトリの名前を取得します。 |
| ParentDirectory |
親ディレクトリを返します。 |
メソッド
| 名前 | 説明 |
|---|---|
| EnumerateFileSystemInfos() |
ディレクトリ内のすべてのファイルとディレクトリを列挙します。 |
| GetDirectory(String) |
サブディレクトリを表す DirectoryInfoBase のインスタンスを返します。 |
| GetFile(String) |
ディレクトリ内のファイルを表す FileInfoBase のインスタンスを返します。 |