ArcFM Responder Mobile Developer Guide
GetWeightName Method






The geometric network.
Gets the name of the weight used by ArcFM for the network supplied.
Syntax
'Declaration
 
Public Shared Function GetWeightName( _
   ByVal network As ESRI.ArcGIS.Geodatabase.IGeometricNetwork _
) As System.String
'Usage
 
Dim network As ESRI.ArcGIS.Geodatabase.IGeometricNetwork
Dim value As System.String
 
value = NetworkIdentification.GetWeightName(network)
public static System.string GetWeightName( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork network
)
public function GetWeightName( 
    network: ESRI.ArcGIS.Geodatabase.IGeometricNetwork
): System.String; static; 
public static function GetWeightName( 
   network : ESRI.ArcGIS.Geodatabase.IGeometricNetwork
) : System.String;
public: static System.string* GetWeightName( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork* network
) 
public:
static System.String^ GetWeightName( 
   ESRI.ArcGIS.Geodatabase.IGeometricNetwork^ network
) 

Parameters

network
The geometric network.

Return Value

The name of the weight value used by ArcFM.
Remarks
If the network has more than 1 ArcFM weight name applied, only the first that we find will be returned. If no ArcFM weight name is found, an empty string will be returned.
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