Show / Hide Table of Contents

Class Item

Base class for PortalItem and LocalItem

Inheritance
Object
Item
LocalItem
PortalItem
Implements
INotifyPropertyChanged
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Portal
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class Item : INotifyPropertyChanged

Properties

Name Description
AccessInformation

Gets or sets the information on the source of the item.

Created

Gets the date the item was created.

Description

Gets or sets the detailed description of the item.

Extent

Gets or sets the bounding extent of the item (in geographical coordinates)

ItemId

Gets or sets the unique id for this item.

Modified

Gets the date the item was modified.

Name

Gets the name of the item

Snippet

Gets or sets the summary description of the item.

SpatialReferenceName

Gets or sets the item's spatial reference name.

Tags

Gets the mutable list of user defined tags that are words or short phrases that describe the item.

TermsOfUse

Gets or sets the terms of use of the item.

Thumbnail

Gets this item's thumbnail image.

ThumbnailUri

Gets the URI associated with the thumbnail image for this item.

Title

Gets or sets the item title. This is the name that is displayed to users and by which they refer to the item. Every item must have a title.

TypeKeywords

Gets the mutable list of keywords that further describes the type of this item. Each item is tagged with a set of type keywords that are derived based on its primary type. Update this list only if you wish to add additional type keywords.

Methods

Name Description
GetDataAsync()

Gets the item data. The data component of an item (the "item file") is used to stream the actual data represented by the item to the client. This resource is available only for the file and text item types.

SetThumbnail(Stream)

Sets the thumbnail for this item from the given data stream.

UpdateItemPropertiesAsync()

Executes an asynchronous operation to update any item properties that have been changed.

UpdateItemPropertiesAsync(CancellationToken)

Executes an asynchronous operation to update any item properties that have been changed.

Events

Name Description
PropertyChanged

Occurs when a property value changes.

Applies to

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

Relevant samples

Display KML: Display KML from a URL, portal item, or local KML file.
List related features: List features related to the selected feature.
Map reference scale: Set the map's reference scale and which feature layers should honor the reference scale.
In This Article
Back to top Copyright © 2022 Esri.