InMemoryDirectoryInfo.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 matches the path
given.
public:
override Microsoft::Extensions::FileSystemGlobbing::Abstractions::FileInfoBase ^ GetFile(System::String ^ path);
public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase? GetFile (string path);
override this.GetFile : string -> Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase
Public Overrides Function GetFile (path As String) As FileInfoBase
Parameters
- path
- String
The filename.
Returns
Instance of FileInfoBase if the file exists, null otherwise.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.