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

INetAttributes.GetWeightValue Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetAttributes Interface > INetAttributes.GetWeightValue Method
ArcGIS Developer Help

INetAttributes.GetWeightValue Method

Returns the weight value of the specified network element for the specified weight.

[Visual Basic .NET]
Public Function GetWeightValue ( _
    ByVal EID As Integer, _
    ByVal ElementType As esriElementType, _
    ByVal weightInternalID As Integer _
) As Object
public object GetWeightValue (
    int EID,
    esriElementType ElementType,
    int weightInternalID
HRESULT GetWeightValue(
  long EID,
  esriElementType ElementType,
  long weightInternalID
EID [in]

EID is a parameter of type long ElementType [in]
ElementType is a parameter of type esriElementType weightInternalID [in]
weightInternalID is a parameter of type long

Product Availability

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


GetWeightValue will return the attribute value for the specified element based on the specified weight.


See Also

INetAttributes Interface