Κοινή χρήση μέσω


InMemoryDirectoryInfo.GetDirectory(String) Method

Definition

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