This document is archived and information here might be outdated.  Recommended version.


ITopologyGraph.HasElement Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITopologyGraph.HasElement Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

That method indicates wheter or not a TopologyElement (TopologyNode or TopologyEdge) is part of the TopologyGraph.

See Also

ITopologyGraph Interface