ArcFM Desktop Developer Guide
SubfeederIDs Property (FeederInfoProvider)
Example 


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Returns the set of all subfeeder ids and their source Miner.Geodatabase.Network.FeatureKey. The subfeederID is the FeederName, if configured. Otherwise, it's the CircuitSourceID.
Syntax
'Declaration
 
Public ReadOnly Property SubfeederIDs As IDictionary(Of String,FeatureKey)
'Usage
 
Dim instance As FeederInfoProvider
Dim value As IDictionary(Of String,FeatureKey)
 
value = instance.SubfeederIDs
public IDictionary<string,FeatureKey> SubfeederIDs {get;}
Example
Return a list of all subfeeders in a given workspace.
public List<string> GetSubFeederIDs(IWorkspace workspace)
{
    var connectionProperties = new ConnectionProperties(workspace);
    var feederInfoProvider = new FeederInfoProvider(connectionProperties);
            
    return feederInfoProvider.SubfeederIDs.Select(kvp => kvp.Key).ToList();
}
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

FeederInfoProvider Class
FeederInfoProvider Members

 

 


Send Comment