ArcFM Responder Mobile Developer Guide
IsElectric Method






Returns true if, and only if, the network has a weight called "MMElectricTraceWeight".
Syntax
'Declaration
 
Public Shared Function IsElectric( _
   ByVal geometricNetwork As ESRI.ArcGIS.Geodatabase.IGeometricNetwork _
) As System.Boolean
'Usage
 
Dim geometricNetwork As ESRI.ArcGIS.Geodatabase.IGeometricNetwork
Dim value As System.Boolean
 
value = NetworkIdentification.IsElectric(geometricNetwork)
public static System.bool IsElectric( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork geometricNetwork
)
public function IsElectric( 
    geometricNetwork: ESRI.ArcGIS.Geodatabase.IGeometricNetwork
): System.Boolean; static; 
public static function IsElectric( 
   geometricNetwork : ESRI.ArcGIS.Geodatabase.IGeometricNetwork
) : System.boolean;
public: static System.bool IsElectric( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork* geometricNetwork
) 
public:
static System.bool IsElectric( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork^ geometricNetwork
) 

Parameters

geometricNetwork

Return Value

Returns true if the geometric network is a model for an electric network; otherwise, false.
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