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


INetworkBuild.AddAttribute Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkBuild Interface > INetworkBuild.AddAttribute Method
ArcGIS Developer Help

INetworkBuild.AddAttribute Method

Adds the given attribute to the schema of the network dataset.

[Visual Basic .NET]
Public Sub AddAttribute ( _
    ByVal Attribute As INetworkAttribute _
)
[C#]
public void AddAttribute (
    INetworkAttribute Attribute
);
[C++]
HRESULT AddAttribute(
  INetworkAttribute* Attribute
);
[C++]
Parameters
Attribute [in]

Attribute is a parameter of type INetworkAttribute*

Product Availability

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

Remarks

The AddAttribute method is used to add an attribute to the network dataset. After calling AddAttribute, the network needs to be rebuilt in order to reflect the change.

See Also

INetworkBuild Interface