ArcObjects Library Reference (NetworkAnalysis)  

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