ArcObjects Library Reference (NetworkAnalysis)  

INetworkLoader2 Interface

Provides access to members that specify parameters for creating a new geometric network.

Product Availability

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

When To Use

Use the INetworkLoader and INetworkLoader2 interfaces when you want to create a new geometric network.

Members

Description
Method AddFeatureClass Adds a feature class to the new geometric network.
Method AddWeight Adds a weight to the new geometric network.
Method AddWeightAssociation Adds an association between a network weight and a feature class attribute.
Method CanUseFeatureClass Determines if the given feature class can participate in a network.
Method CheckAncillaryRoleField Determines whether the given AncillaryRole field is valid.
Method CheckEnabledDisabledField Determines whether the given Enabled field is valid.
Write-only property ConfigurationKeyword Configuration keyword for the new geometric network.
Read-only property ErrorTableName Name of the table containing errors encountered while building the new geometric network.
Write-only property FeatureDatasetName Feature dataset name to where the new geometric network is to be created.
Method LoadNetwork Creates the new geometric network inside the feature dataset.
Read-only property MinSnapTolerance Minimum nonzero snap tolerance for creating a new geometric network.
Write-only property NetworkName Name of the new geometric network.
Write-only property NetworkType Network type of the new geometric network.
Read-only property NumInvalidFeatures Number of features with invalid geometry in the given feature class.
Write-only property PreserveEnabledValues Indicates if the Network Loader should preserve the values in the existing Enabled fields.
Method PutAncillaryRole Specifies the ancillary role attribute field for the specified feature class.
Method PutEnabledDisabledFieldName Specifies the enabled/disabled field for the specified feature class.
Write-only property SnapTolerance Snap tolerance to be used in creating the new geometric network.
Read-only property TotalNumInvalidFeatures Total number of features with invalid geometry.

Inherited Interfaces

Interfaces Description
INetworkLoader Provides access to members used to create a new geometric network.

CoClasses that implement INetworkLoader2

CoClasses and Classes Description
NetworkLoader A container for specifying the parameters for building a geometric network.

Remarks

The INetworkLoader and INetworkLoader2 interfaces provide parameters for building your new geometric network.  For more information on how to use these interfaces together in the NetworkLoader object, see the help for the NetworkLoader object.

.NET Related Topics

Creating geometric networks within a geodatabase |