Class Attachment
Represents a geodatabase attachment type.
Inheritance
System.Object
Attachment
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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. |
GetDataAsync(CancellationToken) | Asynchronously retrieves attachment's data. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Edit feature attachments: Add, delete, and download attachments for features from a service.