Method SetUserDefinedEmbeddedFileAttributeAsync

SetUserDefinedEmbeddedFileAttributeAsync(IAttributeDefinition?, FileStream?, CancellationToken)

Sets an user defined embedded file attribute

Declaration
Task<IUserDefinedEmbeddedFileAttribute?> SetUserDefinedEmbeddedFileAttributeAsync(IAttributeDefinition? attributeDefinition, FileStream? file, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IAttributeDefinition attributeDefinition

The attribute definition

FileStream file

The FileStream

CancellationToken cancellationToken

The optional cancellation token

Returns
Type Description
Task<IUserDefinedEmbeddedFileAttribute>

An IUserDefinedEmbeddedFileAttribute interface or null in case the given attribute definition doesn't allow to store a file

Remarks
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next