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


DirectoryInfoWrapper.GetFile(String) Method

Definition

Returns an instance of FileInfoBase that represents a file in the directory.

public:
 override Microsoft::Extensions::FileSystemGlobbing::Abstractions::FileInfoBase ^ GetFile(System::String ^ name);
public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase GetFile (string name);
override this.GetFile : string -> Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase
Public Overrides Function GetFile (name As String) As FileInfoBase

Parameters

name
String

Returns

Instance of FileInfoBase even if file does not exist.

Applies to