ArcGIS Pro 2.9 API Reference Guide
Item Class Methods


ArcGIS.Desktop.Core Namespace : Item Class

For a list of all members of this type, see Item members.

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 Delete certain content from the metadata of the current 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 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
See Also

Reference

Item Class
ArcGIS.Desktop.Core Namespace