DirectoryInfoBase.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:
abstract Microsoft::Extensions::FileSystemGlobbing::Abstractions::DirectoryInfoBase ^ GetDirectory(System::String ^ path);
public abstract Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase? GetDirectory (string path);
abstract member GetDirectory : string -> Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase
Public MustOverride 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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.