DirectoryInfoWrapper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Wraps an instance of DirectoryInfo and provides implementation of 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
- Inheritance
Constructors
DirectoryInfoWrapper(DirectoryInfo) |
Initializes an instance of DirectoryInfoWrapper. |
Properties
FullName |
Returns the full path to the directory. |
Name |
Gets the name of the file or directory. |
ParentDirectory |
Returns the parent directory. |
Methods
EnumerateFileSystemInfos() |
Enumerates all files and directories in the directory. |
GetDirectory(String) |
Returns an instance of DirectoryInfoBase that represents a subdirectory. |
GetFile(String) |
Returns an instance of FileInfoBase that represents a file in the directory. |