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

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

INetWeightAssociationEdit Interface | INetWeightAssociation Interface | INetWeightAssociation Interface | INetWeightAssociationEdit Interface | INetWeight Interface | INetWeightEdit Interface