ArcGIS Pro 2.9 API Reference Guide
StyleProjectItem Class Methods


ArcGIS.Desktop.Mapping Namespace : StyleProjectItem Class

For a list of all members of this type, see StyleProjectItem 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. (Inherited from ArcGIS.Desktop.Core.Item)
Public MethodGets a value which indicates whether a StyleProjectItem can be unreferenced.  
Public Method Copy metadata from Item. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Delete certain content from the metadata of the current item. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Core.Item)
Public MethodImplements the dispose method (of System.IDisposable)  
Public Method Determines if the given object is identical to this object. (Inherited from ArcGIS.Desktop.Core.Item)
Public MethodOverloaded.  (Inherited from ArcGIS.Desktop.Core.Item)
Public MethodGets the StyleItemType counts that are contained within a StyleProjectItem  
Public Method Gets a hash code associated with this item. (Inherited from ArcGIS.Desktop.Core.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. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Gets the item’s metadata XML document as a string. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Core.Item)
Public MethodOverloaded.  (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Checks if the style content is loading  
Public Method Called when the Item becomes the current root item in the Catalog View. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Override to implement any custom logic when your item is expanded (Inherited from ArcGIS.Desktop.Core.Item)
Public MethodRefreshes the collection of children. Use ArcGIS.Desktop.Core.Item.IsMainThreadRequired to determine the correct thread for performing a refresh. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Repair the path (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Save the metadata of the current item as HTML. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Save the metadata of the current item using customized XSLT. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Save the metadata of the current item as XML. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Search (Inherited from ArcGIS.Desktop.Core.Item)
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. (Inherited from ArcGIS.Desktop.Core.Item)
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. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Override the default ToString() method. (Inherited from ArcGIS.Desktop.Core.Item)
Public Method Upgrade the metadata of the current item. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Desktop.Core.Item)
Top
Protected Methods
 NameDescription
Protected Internal MethodAdds the collection of items to the item's child collection (Inherited from ArcGIS.Desktop.Core.Item)
Protected Internal MethodRemoves all items from the item's child collection (Inherited from ArcGIS.Desktop.Core.Item)
Protected Internal Method Gets the children of this item (Inherited from ArcGIS.Desktop.Core.Item)
Protected Internal Method Gets the container type (Inherited from ArcGIS.Desktop.Core.Item)
Protected MethodOverridden.   
Protected Internal MethodCheck if the item contains the specified child item in its child collection (Inherited from ArcGIS.Desktop.Core.Item)
Protected Internal MethodInsert the child item into the item's child collection at the specified index (Inherited from ArcGIS.Desktop.Core.Item)
Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Protected Internal Method Callback when an item's parent folder is being renamed (Inherited from ArcGIS.Desktop.Core.Item)
Protected MethodOverridden.   
Protected Internal MethodRemove the specified item from the item's child collection (Inherited from ArcGIS.Desktop.Core.Item)
Protected Internal Method Remove the collection of items from the item's child collection (Inherited from ArcGIS.Desktop.Core.Item)
Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Protected Internal Method Derived classes can override this method (Inherited from ArcGIS.Desktop.Core.Item)
Top
Extension Methods
 NameDescription
Public Extension Method Adds a style item to a style. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Retrieves a specific style item from a style. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Removes a style item from a style. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of color ramp style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of color style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of dimension style style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of grid style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of label placement style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of legend item style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of legend style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of map surround style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of north arrow style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of scale bar style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of symbol style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of table frame field style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Returns a collection of table frame style items that satisfy the search criteria. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Updates a style item from a style. This method must be called on the MCT. Use QueuedTask.Run.
Public Extension Method Upgrades the specified style to the current ArcGIS Pro version. This method must be called on the MCT. Use QueuedTask.Run.
Top
See Also

Reference

StyleProjectItem Class
ArcGIS.Desktop.Mapping Namespace