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


INetWeightAssociation Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetWeightAssociation Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

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.

Members

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.

CoClasses that implement INetWeightAssociation

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

Remarks

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