ComponentOne Web API Edition
GetListFileName Method

C1.Web.Api.Storage Namespace > StorageController Class : GetListFileName Method
The path.
The file name
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 IHttpActionResult
[HttpGet()]
[Route("api/storage/List/{*path}")]
public IHttpActionResult 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

Reference

StorageController Class
StorageController Members