This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetSchema Interface > INetSchema.WeightCount Property (ArcObjects .NET 10.4 SDK) |
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
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.