dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
AttachmentsOrderByInfo Class
The AttachmentsOrderByInfo
class indicates the attachment field display order for the attachments configured in AttachmentsContent.
ArcGIS Maps SDK for JavaScript
public class AttachmentsOrderByInfo : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 AttachmentsOrderByInfo
Constructors
AttachmentsOrderByInfo() Constructor
Parameterless constructor for use as a Razor Component.
public AttachmentsOrderByInfo();
AttachmentsOrderByInfo(string, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public AttachmentsOrderByInfo(string? field=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.SortOrder> order=null);
Parameters
field
System.String
An AttachmentInfo field value that will drive the sorting of attachments.
ArcGIS Maps SDK for JavaScript
order
System.Nullable<SortOrder>
Set the ascending or descending sort order of the attachments.
default “ascending”
ArcGIS Maps SDK for JavaScript
Properties
AttachmentsOrderByInfo.Field Property
An AttachmentInfo field value that will drive the sorting of attachments.
ArcGIS Maps SDK for JavaScript
public string? Field { get; set; }
Property Value
AttachmentsOrderByInfo.Order Property
Set the ascending or descending sort order of the attachments.
default “ascending”
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.SortOrder> Order { get; set; }
Property Value
Methods
AttachmentsOrderByInfo.GetField() Method
Asynchronously retrieve the current value of the Field property.
public System.Threading.Tasks.Task<string?> GetField();
Returns
System.Threading.Tasks.Task<System.String>
AttachmentsOrderByInfo.GetOrder() Method
Asynchronously retrieve the current value of the Order property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.SortOrder>> GetOrder();
Returns
System.Threading.Tasks.Task<System.Nullable<SortOrder>>
AttachmentsOrderByInfo.SetField(string) Method
Asynchronously set the value of the Field property after render.
public System.Threading.Tasks.Task SetField(string? value);
Parameters
value
System.String
The value to set.
Returns
AttachmentsOrderByInfo.SetOrder(Nullable) Method
Asynchronously set the value of the Order property after render.
public System.Threading.Tasks.Task SetOrder(System.Nullable<dymaptic.GeoBlazor.Core.Enums.SortOrder> value);
Parameters
value
System.Nullable<SortOrder>
The value to set.