Class FileAttachment
Inheritance
System.Object
FileAttachment
Assembly: IronPdf.dll
Syntax
public class FileAttachment : Object
Properties
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
GetContent(CancellationToken)
Declaration
public Stream GetContent(CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.IO.Stream |
|
GetContentAsync(CancellationToken)
Declaration
public Task<Stream> GetContentAsync(CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.IO.Stream> |
|