ArcFM Desktop Developer Guide
Indeterminate Property (FeederChangedEvent)
Example 


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Gets indeterminate features affected by an edit.
Syntax
'Declaration
 
Public ReadOnly Property Indeterminate As IEnumerable(Of FeatureKey)
'Usage
 
Dim instance As FeederChangedEvent
Dim value As IEnumerable(Of FeatureKey)
 
value = instance.Indeterminate
public IEnumerable<FeatureKey> Indeterminate {get;}

Property Value

The indeterminate features affected by an edit.
Remarks
Indeterminate features are any open switchable device for which feeder information has been excluded from trace results to improve FM2 performance. Feeder information for indeterminate features is not reported by the events API for these features. The current feeder information for an indeterminate feature can be retrieved by calling FeederInfoProvider.GetFeederInfo for the feature key of the indeterminate feature. If an indeterminate feature is returned by the Feeder Manager 2 Events API feeder information is only available for the network state after the edit occurs.
Example
Retrieve feeder information for all indeterminate features which may have been affected by the edit.
public void HandleEvent(FeederChangedEvent e)
{
    // Initialize the feeder info provider.
    var feederInfoProvider = new FeederInfoProvider(e.FeederWorkspace);
            
    foreach (var featureKey in e.Indeterminate)
    {
        // Retrieve the current feeder information for the indeterminate features.
        Trace.WriteLine(feederInfoProvider.GetFeederInfo(featureKey));
    }
}
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

FeederChangedEvent Class
FeederChangedEvent Members

 

 


Send Comment