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


INetWeight Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetWeight Interface

Provides access to members that get information about the network weight described by this NetWeight object.

Product Availability

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

When To Use

Use the INetWeight interface to retrieve information about a particular weight including its name, type, and (for a weight of type esriWTBitgate) its bitgate size.

Members

Description
Read-only property BitGateSize Bit gate size of the network weight described by this NetWeight object.
Read-only property WeightID Internal ID of the network weight described by this NetWeight object.
Read-only property WeightName Name of the network weight described by this NetWeight object.
Read-only property WeightType Type of network weight described by this NetWeight object.

CoClasses that implement INetWeight

CoClasses and Classes Description
NetWeight A container for defining a weight on the network.

Remarks

A weight is the 'cost' of moving along a feature in a network. In a street network this could be the speed limit along a road. In a water utility network this could be the diameter of a pipe which can have an effect on the amount of flow through the pipe. To get all of the weights on a network use the INetSchema interface.

See Also

INetWeightEdit Interface | INetWeightAssociation Interface | INetWeightAssociationEdit Interface | INetWeight Interface | NetWeight Class

.NET Samples

Custom upstream trace task (Code Files: CustomUpstreamTraceTaskVBNet)

.NET Related Topics

NetworkAnalysis