IFileSystem.TryGetFileInfo Method
Gets the file information from the given path.
Namespace: Microsoft.Owin.FileSystems
Assembly: Microsoft.Owin.FileSystems (in Microsoft.Owin.FileSystems.dll)
Syntax
'Declaration
Function TryGetFileInfo ( _
subpath As String, _
<OutAttribute> ByRef fileInfo As IFileInfo _
) As Boolean
'Usage
Dim instance As IFileSystem
Dim subpath As String
Dim fileInfo As IFileInfo
Dim returnValue As Boolean
returnValue = instance.TryGetFileInfo(subpath, _
fileInfo)
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 : String,
fileInfo : IFileInfo
) : boolean
Parameters
- subpath
Type: System.String
The path where to get the file information.
- fileInfo
Type: Microsoft.Owin.FileSystems.IFileInfo%
The file information to get.
Return Value
Type: System.Boolean
true if the path contains the file information; otherwise, false.