Share via


IFileSystem.TryGetFileInfo Method (String, IFileInfo)

 

Locate a file at the given path

Namespace:   Microsoft.Owin.FileSystems
Assembly:  Microsoft.Owin.FileSystems (in Microsoft.Owin.FileSystems.dll)

Syntax

bool TryGetFileInfo(
    string subpath,
    out IFileInfo fileInfo
)
bool TryGetFileInfo(
    String^ subpath,
    [OutAttribute] IFileInfo^% fileInfo
)
abstract TryGetFileInfo : 
        subpath:string *
        fileInfo:IFileInfo byref -> bool
Function TryGetFileInfo (
    subpath As String,
    <OutAttribute> ByRef fileInfo As IFileInfo
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if a file was located at the given path

See Also

IFileSystem Interface
Microsoft.Owin.FileSystems Namespace

Return to top