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


INetSchema.Weight Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetSchema.Weight Property

Network weight corresponding to the specified weight internal ID.

[Visual Basic .NET]
Public Function get_Weight ( _
    ByVal weightInternalID As Integer _
) As INetWeight
[C#]
public INetWeight get_Weight (
    int weightInternalID
);
[C++]
HRESULT get_Weight(
  long weightInternalID,
  INetWeight** networkWeight
);
[C++]

Parameters weightInternalID [in] weightInternalID is a parameter of type long networkWeight [out, retval]
networkWeight is a parameter of type INetWeight

Product Availability

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

Remarks

Weight returns the specified NetWeight object.  The input parameter for Weight is a WeightInternalID, which corresponds to an index value (0 to WeightCount - 1).

See Also

INetSchema Interface