InMemoryDirectoryInfo.GetDirectory(String) Method
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.
Returns an instance of DirectoryInfoBase that represents a subdirectory.
public:
override Microsoft::Extensions::FileSystemGlobbing::Abstractions::DirectoryInfoBase ^ GetDirectory(System::String ^ path);
public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase GetDirectory (string path);
override this.GetDirectory : string -> Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase
Public Overrides Function GetDirectory (path As String) As DirectoryInfoBase
Parameters
- path
- String
The directory name.
Returns
Instance of DirectoryInfoBase even if directory does not exist.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.