DirectoryInfoWrapper.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:
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.