ArcObjects Library Reference (GeoDatabase)  

INetworkDataset.Attribute Property

Network dataset attribute by index.

[Visual Basic .NET]
Public Function get_Attribute ( _
    ByVal Index As Integer _
) As INetworkAttribute
[C#]
public INetworkAttribute get_Attribute (
    int Index
);
[C++]
HRESULT get_Attribute(
  long Index,
  INetworkAttribute** Attribute
);
[C++]

Parameters

Index [in]   Index is a parameter of type long Attribute [out, retval]

  Attribute is a parameter of type INetworkAttribute

Product Availability

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

Remarks

Returns the attribute at the specified index.  The indexes go from 0 to AttributeCount -1.

See Also

INetworkDataset Interface

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Subset network evaluators (Code Files: SubsetHelperUI)