Show / Hide Table of Contents

Class Attachment

Represents a geodatabase attachment type.

Inheritance
Object
Attachment
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Attachment

Properties

Name Description
ContentType

Gets the content type of the attachment.

HasFetchedData

Gets a value indicating whether data has been retrieved.

Id

Gets the id of the attachment.

Name

Gets the name of the attachment.

Size

Gets the size of the attachment's data.

Methods

Name Description
GetDataAsync()

Asynchronously retrieves attachment's data.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

Relevant samples

Edit feature attachments: Add, delete, and download attachments for features from a service.
In This Article
Back to top Copyright © 2022 Esri.