This document is archived and information here might be outdated.  Recommended version.

IDataset.CanDelete Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDataset Interface > IDataset.CanDelete Method
ArcGIS Developer Help

IDataset.CanDelete Method

True if this dataset can be deleted.

[Visual Basic .NET]
Public Function CanDelete ( _
) As Boolean
public bool CanDelete (
HRESULT CanDelete(

Product Availability

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


The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods.  For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class.  To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.

See Also

IDataset Interface