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


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

INetWeightAssociationEdit Interface

Provides access to members that set information for this NetWeightAssociation object.

Product Availability

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

When To Use

Use the INetWeightAssociationEdit interface to associate newly created weights with attributes in a network.

Members

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

Inherited Interfaces

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

CoClasses that implement INetWeightAssociationEdit

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

Remarks

To add a weight association to your logical network you need to use INetSchemaEdit::AddWeightAssociation .

The INetWeightAssociationEdit interface is only for adding weight associations to a stand-alone empty logical network. For creating weight associations when building a geometric network, use the Build Geometric Network Wizard, or the AddWeightAssocation method on the NetworkLoader object.

See Also

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