DropboxClient.GetFileMetadataByPathAsync(String, CancellationToken) Method

Definition

Get file metadata using path

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Dropbox.Models.BlobMetadata> GetFileMetadataByPathAsync(string filePath, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFileMetadataByPathAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Dropbox.Models.BlobMetadata>
override this.GetFileMetadataByPathAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Dropbox.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

This operation gets the metadata of a file using the path.

Applies to