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


INetworkBuilder2.DeleteWeightFromNetwork Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalysis > ESRI.ArcGIS.NetworkAnalysis > Interfaces > IN > INetworkBuilder2 Interface > INetworkBuilder2.DeleteWeightFromNetwork Method
ArcGIS Developer Help

INetworkBuilder2.DeleteWeightFromNetwork Method

Deletes a weight from an existing the geometric network, features are not changed in this process.

[Visual Basic .NET]
Public Sub DeleteWeightFromNetwork ( _
    ByVal pGeometricNetwork As IGeometricNetwork, _
    ByVal weightName As String _
)
[C#]
public void DeleteWeightFromNetwork (
    IGeometricNetwork pGeometricNetwork,
    string weightName
);
[C++]
HRESULT DeleteWeightFromNetwork(
  IGeometricNetwork* pGeometricNetwork,
  BSTR weightName
);
[C++]
Parameters
pGeometricNetwork [in]

pGeometricNetwork is a parameter of type IGeometricNetwork* weightName [in]
weightName is a parameter of type BSTR

Product Availability

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

Remarks

The DeleteWeightToNetwork method is not currently implemented.

See Also

INetworkBuilder2 Interface