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


INetSchema.WeightCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetSchema Interface > INetSchema.WeightCount Property
ArcGIS Developer Help

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(
  System.Int32* 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