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) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Network Analyst Engine application (Code Files: frmNALayerProperties) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Service area solver (Code Files: frmServiceAreaSolver) | Subset network evaluators (Code Files: SubsetHelperUI) | Vehicle routing problem solver (Code Files: frmVRPSolver) |