public interface IAttachment : IDataModel<IAttachment>, IDataModelParent, IDataModelWithContext, ISupportModules<IAttachment>, IDataModelGet<IAttachment>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
Get the content of this attachment.
Declaration
Stream GetContent(bool streamContent = false)
Parameters
System.Boolean
streamContent
Already return the content before all bytes are read, needed for large file downloads
|
Returns
Stream
Stream containing the binary content of the attachment
|
Get the content of this attachment.
Declaration
Task<Stream> GetContentAsync(bool streamContent = false)
Parameters
System.Boolean
streamContent
Already return the content before all bytes are read, needed for large file downloads
|
Returns
Task<Stream>
Stream containing the binary content of the attachment
|
Get the content of the attachment.
Declaration
Returns
System.Byte[]
The binary content of the attachment
|
Get the content of this attachment.
Declaration
Task<byte[]> GetContentBytesAsync()
Returns
Task<System.Byte[]>
The binary content of the attachment
|