Interface IUtilityNetworkQuery
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that query the elements of the utility network.
[Guid("7342C13E-0F9B-44D6-A210-1EEC7295B4CD")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUtilityNetworkQuery
Properties
AttributeByName[string]
Returns the network attribute with the given name.
IUtilityNetworkAttribute AttributeByName[string Name] { get; }
Parameters
Namestring
Property Value
AttributeValueByName[esriElementType, long, string]
Returns the value of this network element for the given network attribute name.
object AttributeValueByName[esriElementType ElementType, long EID, string AttributeName] { get; }
Parameters
ElementTypeesriElementTypeEIDlongAttributeNamestring
Property Value
AttributeValueByUsageType[esriElementType, long, esriUtilityNetworkAttributeUsageType]
Returns the value of this network element for the given network attribute usage type.
object AttributeValueByUsageType[esriElementType ElementType, long EID, esriUtilityNetworkAttributeUsageType UsageType] { get; }
Parameters
ElementTypeesriElementTypeEIDlongUsageTypeesriUtilityNetworkAttributeUsageType
Property Value
Remarks
This method is used to access the internal network attributes such as Source Id, Asset Group, and AssetTYpe by usage type.
Geometry[esriElementType, long]
Returns the geometry in the utility network corresponding to the given element ID.
IGeometry Geometry[esriElementType ElementType, long EID] { get; }
Parameters
ElementTypeesriElementTypeEIDlong
Property Value
HasDirtyElement[long[], long[]]
Returns whether any of the given set of junction and edge elements correspond to a feature in the dirty area table.
bool HasDirtyElement[long[] junctionEIDs, long[] edgeEIDs] { get; }
Parameters
Property Value
IsSpatial[int]
Returns whether the network source corresponding to the given network source ID is spatial.
bool IsSpatial[int NetworkSourceID] { get; }
Parameters
NetworkSourceIDint
Property Value
Methods
AllEIDs(out long[], out int[])
Returns all network index EIDs.
void AllEIDs(out long[] EIDs, out int[] ElementTypes)
Parameters
DirtyFeaturesOrObjects(ILongLongArray, ILongLongArray, out ILongArray, out IStringArray)
Return the corresponding network source ID and global ID information for any of the given set of junction and edge elements that are dirty based on matching global IDs in the dirty area table or relevant status bits set in the associations table.
void DirtyFeaturesOrObjects(ILongLongArray junctionEIDs, ILongLongArray edgeEIDs, out ILongArray dirtyNetworkSourceIDs, out IStringArray dirtyGlobalIDs)
Parameters
junctionEIDsILongLongArrayedgeEIDsILongLongArraydirtyNetworkSourceIDsILongArraydirtyGlobalIDsIStringArray
Elements(Guid, out object, out object)
Returns the elements in the utility network corresponding to the given source objects.
void Elements(Guid GlobalID, out object EIDs, out object ElementTypes)
Parameters
ElementsForSet(string[], out object, out object)
Returns the elements in the utility network corresponding to the given source objects.
void ElementsForSet(string[] GlobalIDs, out object EIDs, out object ElementTypes)
Parameters
FlowDirections(IEnvelope, int, out IArray)
Returns the flow directions.
void FlowDirections(IEnvelope Extent, int maxFlowDirectionCount, out IArray arrows)
Parameters
IsSourceElementDirty(esriElementType, long)
Returns whether the feature that the source element represents is dirty.
bool IsSourceElementDirty(esriElementType ElementType, long EID)
Parameters
ElementTypeesriElementTypeEIDlong
Returns
IsValidEID(esriElementType, long)
Returns whether the specified element is part of the network.
bool IsValidEID(esriElementType ElementType, long EID)
Parameters
ElementTypeesriElementTypeEIDlong
Returns
QueryAdjacentEdgesJunctions(long, out object, out object)
Performs a network edge element query by element ID and edge direction and populates the given edge element object.
void QueryAdjacentEdgesJunctions(long junctionEID, out object adjacentEdges, out object adjacentJunctions)
Parameters
Remarks
QueryAdjacentEdgesJunctionsWithWeights(long, bool, out object, out object, out ILongLongArray, out IVariantArray, out esriJunctionConnectivityStatus, out IArray, out IArray)
Performs a network edge element query by element ID and edge direction and populates the given edge element object.
void QueryAdjacentEdgesJunctionsWithWeights(long junctionEID, bool traversabilityBased, out object adjacentEdges, out object adjacentJunctions, out ILongLongArray currentJunctionWeightIDs, out IVariantArray currentJunctionWeightValues, out esriJunctionConnectivityStatus junctionConnectivityStatus, out IArray edgeWeightIDs, out IArray edgeWeightValues)
Parameters
junctionEIDlongtraversabilityBasedbooladjacentEdgesobjectadjacentJunctionsobjectcurrentJunctionWeightIDsILongLongArraycurrentJunctionWeightValuesIVariantArrayjunctionConnectivityStatusesriJunctionConnectivityStatusedgeWeightIDsIArrayedgeWeightValuesIArray
QueryFromToJunctions(long, out long, out long)
Queries the two end junction element IDs by edge element ID.
void QueryFromToJunctions(long edgeEID, out long FromJunctionEID, out long ToJunctionEID)
Parameters
QueryGeometries(esriElementType, ILongLongArray, IDoubleArray, IDoubleArray)
Query geometries for the given network elements.
IArray QueryGeometries(esriElementType ElementType, ILongLongArray EIDs, IDoubleArray overridePositionFroms, IDoubleArray overridePositionTos)
Parameters
ElementTypeesriElementTypeEIDsILongLongArrayoverridePositionFromsIDoubleArrayoverridePositionTosIDoubleArray
Returns
QueryJunctionConnectivityStatus(long, out esriJunctionConnectivityStatus)
Returns the junction connectivity status.
void QueryJunctionConnectivityStatus(long junctionEID, out esriJunctionConnectivityStatus junctionConnectivityStatus)
Parameters
junctionEIDlongjunctionConnectivityStatusesriJunctionConnectivityStatus
SourceFeatureGlobalID(esriElementType, long, out int, out Guid)
Performs a network source feature query for globalID by element ID.
void SourceFeatureGlobalID(esriElementType ElementType, long EID, out int SourceID, out Guid GlobalID)
Parameters
ElementTypeesriElementTypeEIDlongSourceIDintGlobalIDGuid
SourceFeatureOID(esriElementType, long, out int, out int)
Performs a network source feature query for OID by element ID.
void SourceFeatureOID(esriElementType ElementType, long EID, out int SourceID, out int ObjectID)
Parameters
ElementTypeesriElementTypeEIDlongSourceIDintObjectIDint