This document is archived and information here might be outdated. Recommended version. |
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.