This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetAttributes Interface > INetAttributes.GetWeightValue Method (ArcObjects .NET 10.5 SDK) |
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
[C#] public object GetWeightValue ( int EID, esriElementType ElementType, int weightInternalID );
[C++]
HRESULT GetWeightValue(
long EID,
esriElementType ElementType,
long weightInternalID,
VARIANT* weightValue
);
[C++]
Parameters 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 weightValue [out, retval] weightValue is a parameter of type VARIANT
GetWeightValue will return the attribute value for the specified element based on the specified weight.