ArcFM Responder Mobile Developer Guide
D8ListQueryExtensions Class
Members  Example 






Extension methods for the ID8List interface which perform recursive searches D8 tree nodes. Extension methods for the ID8List interface that perform recursive searches D8 tree nodes.
Object Model
D8ListQueryExtensions Class
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public MustInherit NotInheritable Class D8ListQueryExtensions 
'Usage
 
Dim instance As D8ListQueryExtensions
[System.Runtime.CompilerServices.Extension()]
public static class D8ListQueryExtensions 
public class D8ListQueryExtensions abstract; sealed; 
System.Runtime.CompilerServices.ExtensionAttribute()
public abstract sealed class D8ListQueryExtensions 
[System.Runtime.CompilerServices.Extension()]
public __gc abstract __sealed class D8ListQueryExtensions 
[System.Runtime.CompilerServices.Extension()]
public ref class D8ListQueryExtensions abstract sealed 
Remarks
The query extension methods defined in this class are designed to take the place of recursive searches of D8Lits. Query extension methods return LINQ friendly enumerable lists intended to replace recursive methods used to identify child nodes in a D8 list. 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 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

See Also

Reference

D8ListQueryExtensions Members
Miner.Geodatabase Namespace

Send Feedback