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

INetWeightAssociation Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetWeightAssociation Interface
ArcGIS Developer Help

INetWeightAssociation Interface

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

Product Availability

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

When To Use

The INetWeightAssociation interface is implemented by the NetWeightAssociation coclass and provides read-only access to the properties of the object.

Use the INetWeightAssociation interface to obtain the field name, table name, and ID of individual network weights.


Name Description
Read-only property FieldName Name of the field that contains the values for this weight.
Read-only property TableName Name of the table to which this weight is associated.
Read-only property WeightID Weight internal ID of the weight to which this table is associated.

Classes that implement INetWeightAssociation

Classes Description
NetWeightAssociation A container for defining an association between a network weight and a field in a table.


Creating a weight only adds the weight to your network. Without associating a weight with a particular field in an element class the weight would have no value and could not be used by the NetSolver object for tracing.

See Also

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