BoxClient.GetFileMetadataByPathAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get file metadata using path
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Box.Models.BlobMetadata> GetFileMetadataByPathAsync(string filePath, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFileMetadataByPathAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Box.Models.BlobMetadata>
override this.GetFileMetadataByPathAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Box.Models.BlobMetadata>
Public Overridable Function GetFileMetadataByPathAsync (filePath As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BlobMetadata)
Parameters
- filePath
- String
File Path
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get file metadata using path response.
Remarks
Retrieves the file metadata from Box using path.