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


INetworkDataset.AttributeByName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkDataset Interface > INetworkDataset.AttributeByName Property
ArcGIS Developer Help

INetworkDataset.AttributeByName Property

Network dataset attribute corresponding to the specified name.

[Visual Basic .NET]
Public Function get_AttributeByName ( _
    ByVal Name As String _
) As INetworkAttribute
[C#]
public INetworkAttribute get_AttributeByName (
    string Name
);
[C++]
HRESULT get_AttributeByName(
  BSTR Name,
  INetworkAttribute** Attribute
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR Attribute [out, retval]
Attribute is a parameter of type INetworkAttribute**

Product Availability

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

Remarks

The AttributeByName property will return a reference to the attribute with the specified name. Attribute names are not case sensitive.

See Also

INetworkDataset Interface

.NET Samples

ArcGIS Network Analyst extension Engine application