ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / IItemFactory Interface / GetDatasetType Method
The item to check.

In This Topic
    GetDatasetType Method (IItemFactory)
    In This Topic
    Gets the ArcGIS.Core.Data.DatasetType for the item. If the dataset type cannot be determined, then ArcGIS.Core.Data.DatasetType.Unknown is returned.
    Syntax
    DatasetType GetDatasetType( 
       Item item
    )
    Function GetDatasetType( _
       ByVal item As Item _
    ) As DatasetType

    Parameters

    item
    The item to check.

    Return Value

    Exceptions
    ExceptionDescription
    item is null.
    Remarks
    Items which are currently unsupported with a dataset type include network datasets, parcel fabric datasets, BIM datasets. These items will return ArcGIS.Core.Data.DatasetType.Unknown.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also