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

IWorkspaceEvents.OnCreateDataset Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceEvents Interface > IWorkspaceEvents.OnCreateDataset Event
ArcGIS Developer Help

IWorkspaceEvents.OnCreateDataset Event

This event is fired when a dataset is created.

[Visual Basic .NET]
Public Event OnCreateDataset As OnCreateDatasetEventHandler
public event OnCreateDatasetEventHandler OnCreateDataset
HRESULT OnCreateDataset(
  IDataset* Dataset
Dataset [in]

Dataset is a parameter of type IDataset*

Product Availability

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


The OnCreateDataset method is fired after a dataset has been created.

See Also

IWorkspaceEvents Interface