This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyGraph Interface > ITopologyGraph.HasElement Property (ArcObjects .NET 10.4 SDK) |
Indicates if the topology graph contains the specified element.
[Visual Basic .NET] Public Function get_HasElement ( _ ByVal Element As ITopologyElement _ ) As Boolean
[C#] public bool get_HasElement ( ITopologyElement Element );
[C++]
HRESULT get_HasElement(
ITopologyElement* Element,
VARIANT_BOOL* HasElement
);
[C++]
Parameters Element
Element is a parameter of type ITopologyElement HasElement [out, retval] HasElement is a parameter of type VARIANT_BOOL
That method indicates wheter or not a TopologyElement (TopologyNode or TopologyEdge) is part of the TopologyGraph.