This document is archived and information here might be outdated. Recommended version. |
Provides access to members that specify the properties of a source in a network dataset.
Name | Description | |
---|---|---|
ElementType | Network element type of this network source. | |
ID | Unique identifier of this network source. | |
Name | Name of the class associated with this network source. | |
NetworkSourceDirections | The driving directions settings for this network source. | |
Properties | Property set of this network source. | |
SourceType | Type of network source. | |
UsesGeometryInConnectivity | Indicates if the source object's geometry is used in determining network connectivity. |
Classes | Description |
---|---|
EdgeFeatureSource | A container for describing a network dataset source whose edge elements are derived from line feature geometry. |
JunctionFeatureSource | A container for describing a network dataset source whose junction elements are derived from point feature geometry. |
NetworkSource | A container for describing a network dataset source. |
SDCNetworkSource (esriDataSourcesFile) | A container for describing a SDC network dataset source. |
SystemJunctionSource | A container for describing a network dataset source where junction elements are generated automatically when the network is built. |
TurnFeatureSource | A container for describing a network dataset source whose elements are derived from turn feature geometry. |
The INetworkSource interface is used to access the properties of the network source, such as its name and source type.
To access the NetworkSource object for an existing network dataset source, use the Source, SourceByID, or SourceByName methods on the INetworkDataset interface.
The INetworkSource interface is also used to define a new network source. To create a new network source, cocreate the appropriate NetworkSource object, specify its properties, and pass the object to the INetworkBuild::AddSource method on the network dataset.