Method AddAttachment
AddAttachment(String, String, ReadOnlySpan<Byte>)
Adds a new attachment to this AttachmentsFormElement.
Declaration
public FormAttachment AddAttachment(string name, string contentType, ReadOnlySpan<byte> data)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The attachment name. |
System.String | contentType | The type of content. |
System.ReadOnlySpan<System.Byte> | data | The attachment data. |
Returns
Type | Description |
---|---|
FormAttachment | The new FormAttachment. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
AddAttachment(String, String, Byte[])
Adds a new attachment to this AttachmentsFormElement.
Declaration
public FormAttachment AddAttachment(string name, string contentType, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The attachment name. |
System.String | contentType | The type of content. |
System.Byte[] | data | The attachment data. |
Returns
Type | Description |
---|---|
FormAttachment | The new FormAttachment. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |