Web API Core | ComponentOne
C1.Web.Api.Storage Namespace / StorageController Class / GetFile Method
The path.
The file name

In This Topic
    GetFile Method
    In This Topic
    Gets the file with the specified path.
    Syntax
    'Declaration
     
    
    <HttpGetAttribute()>
    <RouteAttribute("api/storage/{*path}")>
    Public Function GetFile( _
       ByVal path As String, _
       Optional ByVal subpath As String _
    ) As IActionResult
    [HttpGet()]
    [Route("api/storage/{*path}")]
    public IActionResult GetFile( 
       string path,
       string subpath
    )

    Parameters

    path
    The path.
    subpath
    The file name

    Return Value

    The result which contains the file.
    See Also