ArcObjects Library Reference (GeoDatabase)  

INetworkElement.AttributeValueByName Property

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

Product Availability

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

Remarks

The AttributeName parameter is the unique Name specified for the NetworkAttribute at the time the network dataset was created.

See Also

INetworkElement Interface