ComponentOne Web API Edition
GetFile Method

C1.Web.Api.Storage Namespace > StorageController Class : GetFile Method
The path.
The file name
Gets the file with the specified path.
Syntax
'Declaration
 
<RouteAttribute("api/storage/{*path}")>
<HttpGetAttribute()>
Public Function GetFile( _
   ByVal path As String, _
   Optional ByVal subpath As String _
) As IHttpActionResult
[Route("api/storage/{*path}")]
[HttpGet()]
public IHttpActionResult GetFile( 
   string path,
   string subpath
)

Parameters

path
The path.
subpath
The file name

Return Value

The result which contains the file.
See Also

Reference

StorageController Class
StorageController Members