BoxClient.UpdateFileAsync(String, Byte[], 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.
Update file
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Box.Models.BlobMetadata> UpdateFileAsync(string fileId, byte[] input, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateFileAsync : string * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Box.Models.BlobMetadata>
override this.UpdateFileAsync : string * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Box.Models.BlobMetadata>
Public Overridable Function UpdateFileAsync (fileId As String, input As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of BlobMetadata)
Parameters
- fileId
- String
File Id
- input
- Byte[]
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Update file response.
Remarks
Updates an existing file in Box.