This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetSchema Interface > INetSchema.Weight Property (ArcObjects .NET 10.4 SDK) |
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
Weight returns the specified NetWeight object. The input parameter for Weight is a WeightInternalID, which corresponds to an index value (0 to WeightCount - 1).