layout: default title: Attachment parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

Attachment Class

The attachment to be added, updated or deleted in an AttachmentEdit.

public class Attachment

Inheritance System.Object 🡒 Attachment

Properties

Attachment.ContentType Property

The content type of the attachment. For example, ‘image/jpeg’. See the ArcGIS REST API documentation for more information on supported attachment types.

public string? ContentType { get; set; }

Property Value

System.String

Attachment.Data Property

The attachment data.

public string? Data { get; set; }

Property Value

System.String

Attachment.GlobalId Property

The globalId of the attachment to be added or updated. These Global IDs must be from the Global ID field created by ArcGIS. For more information on ArcGIS generated Global IDs, see the Global IDs and Attachments and relationship classes sections in the Data Preparation documentation.

public string GlobalId { get; set; }

Property Value

System.String

Attachment.Name Property

The name of the attachment. This parameter must be set if the attachment type is Blob.

public string? Name { get; set; }

Property Value

System.String

Attachment.UploadId Property

The id of pre-loaded attachment.

public string? UploadId { get; set; }

Property Value

System.String