InMemoryDirectoryInfo.GetFile(String) Método

Definição

Retorna uma instância de FileInfoBase que corresponde ao path fornecido.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

Parâmetros

path
String

O nome do arquivo.The filename.

Retornos

FileInfoBase

Instância de FileInfoBase se o arquivo existir, caso contrário, nulo.Instance of FileInfoBase if the file exists, null otherwise.

Aplica-se a