ArcObjects Library Reference (GeoDatabase)  

INetSchema.WeightCount Property

Number of weights in the network.

[Visual Basic .NET]
Public ReadOnly Property WeightCount As Integer
[C#]
public int WeightCount {get;}
[C++]
HRESULT get_WeightCount(
  long* WeightCount
);
[C++]

Parameters

WeightCount [out, retval]   WeightCount is a parameter of type long

Product Availability

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

Remarks

WeightCount returns a count of all of the weights defined for the network.

The weight being a NetWeight object consisting of a name and type of weight.  Multiple NetWeightAssociation objects (consisting of field name and table name) are then associated with a particular weight.

See Also

INetSchema Interface