layout: default title: AttachmentEdit parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Layers
AttachmentEdit Class
AttachmentEdit represents an attachment that can be added, updated or deleted via applyEdits. This object can be either pre-uploaded data or base 64 encoded data.
ArcGIS Maps SDK for JavaScript
public class AttachmentEdit
Inheritance System.Object 🡒 AttachmentEdit
Constructors
AttachmentEdit(Graphic, Attachment) Constructor
Construct an AttachmentEdit from a Graphic “Feature” and its Attachment.
public AttachmentEdit(dymaptic.GeoBlazor.Core.Components.Layers.Graphic feature, dymaptic.GeoBlazor.Core.Components.Layers.Attachment attachment);
Parameters
feature
Graphic
attachment
Attachment
AttachmentEdit(int, Attachment) Constructor
Construct an AttachmentEdit from a Feature’s objectId
and its Attachment.
public AttachmentEdit(int objectId, dymaptic.GeoBlazor.Core.Components.Layers.Attachment attachment);
Parameters
objectId
System.Int32
attachment
Attachment
AttachmentEdit(string, Attachment) Constructor
Construct an AttachmentEdit from a Feature’s globalId
and its Attachment.
public AttachmentEdit(string globalId, dymaptic.GeoBlazor.Core.Components.Layers.Attachment attachment);
Parameters
globalId
System.String
attachment
Attachment
Properties
AttachmentEdit.Attachment Property
The attachment to be added, updated or deleted.
public dymaptic.GeoBlazor.Core.Components.Layers.Attachment Attachment { get; set; }
Property Value
AttachmentEdit.Feature Property
The feature of feature associated with the attachment.
public dymaptic.GeoBlazor.Core.Components.Layers.Graphic? Feature { get; set; }
Property Value
AttachmentEdit.GlobalId Property
The globalId
of the feature associated with the attachment.
public string? GlobalId { get; set; }
Property Value
AttachmentEdit.ObjectId Property
The objectId
of the feature associated with the attachment.
public System.Nullable<int> ObjectId { get; set; }