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


INetworkBuild.AddAttribute Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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