This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkBuild Interface > INetworkBuild.AddAttribute Method (ArcObjects .NET 10.5 SDK) |
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
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.