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 > INetworkElement Interface > INetworkElement.AttributeValueByName Property (ArcObjects .NET 10.5 SDK) |
Value of this network element for the given network attribute name.
[Visual Basic .NET] Public Function get_AttributeValueByName ( _ ByVal AttributeName As String _ ) As Object
[C#] public object get_AttributeValueByName ( string AttributeName );
[C++]
HRESULT get_AttributeValueByName(
BSTR AttributeName,
VARIANT* AttributeValue
);
[C++]
Parameters AttributeName [in] AttributeName is a parameter of type BSTR AttributeValue [out, retval] AttributeValue is a parameter of type VARIANT
The AttributeName parameter is the unique Name specified for the NetworkAttribute at the time the network dataset was created.