This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetSchemaEdit Interface > INetSchemaEdit.AddWeight Method (ArcObjects .NET 10.4 SDK) |
Adds a new weight to the network.
[Visual Basic .NET] Public Sub AddWeight ( _ ByVal networkWeight As INetWeight _ )
[C#] public void AddWeight ( INetWeight networkWeight );
[C++]
HRESULT AddWeight(
INetWeight* networkWeight
);
[C++]
Parameters networkWeight [in]
networkWeight is a parameter of type INetWeight
AddWeight will add a new weight to the network. A weight is used to qualify traces through the features in a network. Add a weight to your network when you want tracing to be based on attributes values of the features in the network.
Only use this method to add a weight to a newly created stand-alone logical network that does not have any topology.