Miner.Geodatabase.FeederManager.PlugIn Namespace > IFeederField Interface : IsEnabled Method |
'Declaration
Function IsEnabled( _ ByVal electricTableName As System.String _ ) As System.Boolean
'Usage
Dim instance As IFeederField Dim electricTableName As System.String Dim value As System.Boolean value = instance.IsEnabled(electricTableName)
System.bool IsEnabled( System.string electricTableName )
function IsEnabled( electricTableName: System.String ): System.Boolean;
function IsEnabled( electricTableName : System.String ) : System.boolean;
System.bool IsEnabled( System.string* electricTableName )
System.bool IsEnabled( System.String^ electricTableName )
true
if the field is enabled for the given table;' otherwise, false
.public bool IsEnabled(string electricTableName) { // Enable the plugin field for distribution conductors. switch (electricTableName) { case "PriOHElectricLineSegment": case "PriUGElectricLineSegment": case "SecOHElectricLineSegment": case "SecUGElectricLineSegment": return true; default: return false; } }
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