ArcFM Desktop Developer Guide
FeederIDs Property (FeederInfoProvider)
Example 


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Returns the set of all feeder IDs and their source Miner.Geodatabase.Network.FeatureKey.
Syntax
'Declaration
 
Public ReadOnly Property FeederIDs As IDictionary(Of String,FeatureKey)
'Usage
 
Dim instance As FeederInfoProvider
Dim value As IDictionary(Of String,FeatureKey)
 
value = instance.FeederIDs
public IDictionary<string,FeatureKey> FeederIDs {get;}
Example
Create a list of all feeders in a workspace.
public List<string> GetFeederIDs(IWorkspace workspace)
{
    var connectionProperties = new ConnectionProperties(workspace);
    var feederInfoProvider = new FeederInfoProvider(connectionProperties);
            
    return feederInfoProvider.FeederIDs.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