GetDataset Method (ItemFactory)
Gets the
ArcGIS.Core.Data.Dataset associated with the item corresponding to
Item.Path. This method must be called on the MCT. Use QueuedTask.Run.
Public Function GetDataset( _
ByVal As Item _
) As Dataset
Parameters
- item
- The item to check.
Return Value
A specific
ArcGIS.Core.Data.Dataset (e.g.,
ArcGIS.Core.Data.FeatureClass) associated with the item. A NotSupportedException will be thrown if the dataset cannot be determined for the item. Use
CanGetDataset to determine if the dataset can be retrieved before calling this.
Target Platforms: Windows 11, Windows 10, Windows 8.1
ArcGIS Pro version: 2.9 or higher.