ArcGIS Pro 2.8 API Reference Guide
Item Class Members
Properties  Methods  Events


ArcGIS.Desktop.Core Namespace : Item Class

The following tables list the members exposed by Item.

Protected Constructors
 NameDescription
Protected Internal ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public Property Gets documented limitations with respect to using the item. Derived from Use Limitations defined in the item's metadata.  
Public Property Gets information that gives credit to the producer or provider of the item. Derived from Credits defined in the item's metadata.  
Public Property Gets and sets a description of the item. Derived from the Description or Abstract defined in the item's metadata.  
Public Property Gets the item file size  
Public Property Gets a unique identifier for the item  
Public Property Gets a unique identifier associated with each portal item  
Public Property Gets if the item contains other items  
Public Property Gets if the item has been set as a default for this project  
Public Property Gets if the item is invalid  
Public Property Returns whether the Item must be refreshed on the MCT within the lambda of a QueuedTask.Run.  
Public Property Gets a list of the item categories in which the item participates  
Public Property Gets the maximum map scale at which the item should draw  
Public Property Gets the minimum map scale at which the item should draw  
Public Property Gets and sets the name of the item  
Public Property Gets the path used to access the item  
Public Property Gets and sets the location where the item is stored  
Public Property Gets and sets the time when the item's source item was last modified  
Public Property Gets and sets a Uri that identifies the source item from which the item was created in the project  
Public Property Gets and sets a summary describing the purpose of the item. Derived from the Summary or Purpose defined in the item's metadata.  
Public Property Gets and sets a comma-separated list of tags that describe the item. Derived from Tags defined in the item's metdata.  
Public Property Gets and sets a path to a thumbnail that describes and helps to identify the item. Derived from the Thumbnail that is extracted from the item's metadata.  
Public Property Gets and sets a descriptive title for the item. Derived from the Title in the item's metadata.  
Public Property Gets a localized string indicating the item's type, for example, shapefile  
Public Property Gets the type identifier that indicates what icon, context menu, and operations the item should have  
Public Property Gets keywords associated with the item's type that support finding the item with a search  
Public Property Gets a URL that can be used to access the item  
Public Property Gets the maximum value along the x-axis for the item's minimum bounding rectangle  
Public Property Gets the minimum value along the x-axis for the item's minimum bounding rectangle  
Public Property Gets the maximum value along the y-axis for the item's minimum bounding rectangle  
Public Property Gets the minimum value along the y-axis for the item's minimum bounding rectangle  
Top
Protected Properties
 NameDescription
Protected Internal Property Gets whether to block from the cache  
Protected Internal PropertyGets the category for this item  
Protected Internal PropertyGets and sets the container type for this item  
Protected Internal PropertyGets and sets the context menu id for the item  
Protected Internal PropertyGets and sets the last modified time for this item  
Protected Internal PropertyGets and sets the display type string  
Protected Internal PropertyGets and sets the group sort order for the item.  
Protected Internal PropertyChecks whether the item has child items in its child item collection  
Protected PropertyGets whether the item is searchable. Default is true  
Protected Internal PropertyGets the associated key for this item  
Protected Internal PropertyGets and sets the project item sort order for the item.  
Protected Internal PropertyGets whether the item supports categories. The default is false  
Protected Internal PropertyGets whether the item supports a date. The default is true  
Protected Internal PropertyGets whether the item supports an owner. The default is false  
Top
Public Methods
 NameDescription
Public Method Indicates if metadata is editable for the item. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Copy metadata from Item. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Determines if the given object is identical to this object.  
Public MethodOverloaded.   
Public Method Gets a hash code associated with this item.  
Public Method Browses the contents of an item. Returns a snapshot collection of of the item's children. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the item’s metadata XML document as a string. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodOverloaded.   
Public Method Called when the Item becomes the current root item in the Catalog View.  
Public Method Override to implement any custom logic when your item is expanded  
Public MethodRefreshes the collection of children. Use IsMainThreadRequired to determine the correct thread for performing a refresh.  
Public Method Repair the path  
Public Method Save the metadata of the current item as HTML. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Save the metadata of the current item using customized XSLT. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Save the metadata of the current item as XML. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Search  
Public Method Sets the item’s metadata to the XML document provided as a string. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Updates metadata with the current properties of the item. Metadata is created for the item if it doesn't already exist. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Override the default ToString() method.  
Public Method Upgrade the metadata of the current item. This method must be called on the MCT. Use QueuedTask.Run.  
Top
Protected Methods
 NameDescription
Protected Internal MethodAdds the collection of items to the item's child collection  
Protected Internal MethodRemoves all items from the item's child collection  
Protected Internal Method Gets the children of this item  
Protected Internal Method Gets the container type  
Protected Internal Method Gets the repair path  
Protected Internal MethodCheck if the item contains the specified child item in its child collection  
Protected Internal MethodInsert the child item into the item's child collection at the specified index  
Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Protected Internal Method Called before the context menu for the Item is opened.  
Protected Internal Method Callback when an item's parent folder is being renamed  
Protected Internal MethodRemove the specified item from the item's child collection  
Protected Internal Method Remove the collection of items from the item's child collection  
Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Protected Internal Method Derived classes can override this method  
Top
Public Events
 NameDescription
Public Event Occurs when a property value changes. (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Top
See Also

Reference

Item Class
ArcGIS.Desktop.Core Namespace