Show / Hide Table of Contents

Method AddAttachment

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
TargetVersions
.NET Standard 2.0200.5 - 200.8
.NET200.5 - 200.8
.NET Windows200.5 - 200.8
.NET Android200.5 - 200.8
.NET iOS200.5 - 200.8
.NET Framework200.5 - 200.8
UWP200.5 - 200.8
In This Article
Back to top Copyright © 2022 Esri.