ArcFM Desktop Developer Guide
D8ListQueryExtensions Class
Members  Example 


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Product Availability
Required Licenses
.NET Assembly
Extension methods for the ID8List interface that perform recursive searches D8 tree nodes.
Object Model
D8ListQueryExtensions Class
Syntax
'Declaration
 
<ExtensionAttribute()>
Public MustInherit NotInheritable Class D8ListQueryExtensions 
'Usage
 
Dim instance As D8ListQueryExtensions
[Extension()]
public static class D8ListQueryExtensions 
Remarks
The query extension methods defined in this class are designed to take the place of recursive searches of D8Lists. Query extension methods return LINQ friendly enumerable lists intended to replace recursive methods used to identify child nodes in a D8 list.
Example
The following example illustrates a query which will return all work locations in the design tab.
// Find all work locations in the design tree using the find method.
public List<ID8ListItem> FindWorkLocations()
{
    var designerTopLevel = (ID8List)DesignerTopLevel.Instance;
            
    return (designerTopLevel).Query(item => item is ID8WorkLocation).ToList();
}
Inheritance Hierarchy

System.Object
   Miner.Geodatabase.D8ListQueryExtensions

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

D8ListQueryExtensions Members
Miner.Geodatabase Namespace

 

 


Send Comment