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

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

    Parameters

    path
    The path.
    subpath
    The file name

    Return Value

    The result which contains the files and folders at json type.
    See Also