This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkQuery Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that query the elements of the network dataset.
Description | ||
---|---|---|
ClearIDCache | Empties the contents of the index used for finding network elements by source. | |
ComplexTurnCount | Number of turn elements in the network dataset having more than two edge elements participating. | |
CreateForwardStar | Creates a NetworkForwardStar object for traversing the network dataset. | |
CreateForwardStarAdjacencies | Creates a NetworkForwardStarAdjacencies container object for forward star queries. | |
CreateNetworkElement | Creates an uninitialized network element of the specified type for use in network dataset queries. | |
EdgesByPosition | Edge elements in the network dataset with a from and to position that includes the given position for the given source object. | |
EdgesBySegment | Edge elements in the network dataset with a from and to position included in the given range for the given source object. | |
ElementCount | Number of network elements of the given type in the network dataset. | |
Elements | Enumeration of all elements in the network dataset of the given type. | |
ElementsByOID | Elements in the network dataset corresponding to the given source object. | |
ElementsByOIDs | Elements in the network dataset corresponding to the given source objects. | |
ElementsForSource | Enumeration of all elements in the network dataset corresponding to the given source. | |
MaxEID | Highest element ID in the network dataset for the given element type. | |
MaxValence | Maximum number of edge elements connected to any single junction element. | |
PopulateIDCache | Initializes the index used for quickly finding network elements for the given source ID. | |
QueryEdge | Performs a network edge element query by element ID and edge direction and populates the given edge element object. | |
QueryJunction | Performs a network junction element query by element ID and populates the given junction element object. | |
QueryTurn | Performs a network turn element query by element ID and populates the given turn element object. |
CoClasses and Classes | Description |
---|---|
NetworkDataset | A container for querying information about a network dataset. |
The INetworkQuery interface is used to retrieve the elements of the network dataset. You can query for network elements by their element type, by the source that generated them, or by the Object IDs of their source features.
You can also query other elements that are immediately adjacent to given elements by using the NetworkForwardStar object. This object allows you to repeatedly query the adjacent elements and their attribute values efficiently.