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


DENetworkDataset CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Classes > D > DENetworkDataset CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

DENetworkDataset CoClass

Network Dataset Data Element object.

Product Availability

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

Description

DENetworkDataset is a light weight object that holds information about a network dataset.  It can be used in conjunction with the INetworkBuild::UpdateSchema method of updating a network dataset's schema.

Interfaces

Interfaces Description
IClone (esriSystem) Provides access to members that control cloning of objects.
IDataElement Provides access to the Basic Data Element.
IDEDataset Provides access to members that supply dataset data element information.
IDEGeoDataset Provides access to members that return information about a geographic dataset data element.
IDENetworkDataset Provides access to members that describe network dataset data elements.
IDENetworkDataset2 Provides access to members that describe network dataset data elements.
IDENetworkDataset3 Provides access to members that describe network dataset data elements.
IDENetworkDataset4 Provides access to members that describe network dataset data elements.
IGPDescribe Provides access to a Geoprocessing description.
IGPValue Provides access to members of a GPValue.
IMetadata Provides access to members that manage and update metadata.
IPersistStream (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.

Remarks

Access the DENetworkDataset for an existing NetworkDataset by calling IDatasetComponent::DataElement.

[C#]
IDENetworkDataset GetDataElementFromNetworkDataset(INetworkDataset networkDataset)
{ IDatasetComponent datasetComponent=networkDataset as IDatasetComponent; return (datasetComponent.DataElement as IDENetworkDataset); }
[Visual Basic .NET]
Function GetDataElementFromNetworkDataset(networkDataset As INetworkDataset) As IDENetworkDataset
  Dim datasetComponent As IDatasetComponent=CType(networkDataset, IDatasetComponent)
  Return CType(datasetComponent.DataElement, IDENetworkDataset)
End Function