DirectoryInfoBase.GetFile(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 FileInfoBase that represents a file in the directory.
public:
abstract Microsoft::Extensions::FileSystemGlobbing::Abstractions::FileInfoBase ^ GetFile(System::String ^ path);
public abstract Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase? GetFile (string path);
abstract member GetFile : string -> Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase
Public MustOverride Function GetFile (path As String) As FileInfoBase
Parameters
- path
- String
The file name.
Returns
Instance of FileInfoBase even if file does not exist.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.