ArcFM Responder Mobile Developer Guide
GetElectricWeightID Method






The geometric network.
Gets the internal weight ID of the trace weight with the name MMElectricTraceWeight.
Syntax
'Declaration
 
Public Shared Function GetElectricWeightID( _
   ByVal geometricNetwork As ESRI.ArcGIS.Geodatabase.IGeometricNetwork _
) As System.Integer
'Usage
 
Dim geometricNetwork As ESRI.ArcGIS.Geodatabase.IGeometricNetwork
Dim value As System.Integer
 
value = NetworkIdentification.GetElectricWeightID(geometricNetwork)
public static System.int GetElectricWeightID( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork geometricNetwork
)
public function GetElectricWeightID( 
    geometricNetwork: ESRI.ArcGIS.Geodatabase.IGeometricNetwork
): System.Integer; static; 
public static function GetElectricWeightID( 
   geometricNetwork : ESRI.ArcGIS.Geodatabase.IGeometricNetwork
) : System.int;
public: static System.int GetElectricWeightID( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork* geometricNetwork
) 
public:
static System.int GetElectricWeightID( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork^ geometricNetwork
) 

Parameters

geometricNetwork
The geometric network.

Return Value

Returns the internal weight ID of the trace weight with the name MMElectricTraceWeight.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NetworkIdentification Class
NetworkIdentification Members

Send Feedback