ArcObjects Library Reference  (GeoDatabase)    

IDataset.Category Property

The category of the dataset.

[Visual Basic 6.0]
Property Category As String
[Visual Basic .NET]
Public ReadOnly Property Category As String
[C#]
public string Category {get;}
[Java]
public String getCategory()
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Category(
  BSTR* Category
);
[C++]

Parameters

Category [out, retval]

  Category is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

IDataset::Category returns a description of the category of the dataset.  The description returned from the Category property is the same value that is displayed in the Type column within the Contents tab in ArcCatalog.  The value will contain a description of the dataset such as "Topology" prefixed with a description of the type of workspace containing the dataset such as "File Geodatabase".

The description returned from IDataset::Category may change between releases of ArcGIS. In addition to this, returned strings are localized, meaning that code relying on a specific string being provided may fail when deployed with a different version of ArcGIS than it was developed with, or when deployed to a client using a different language than it was developed with.

See Also

IDataset Interface