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


ITopologyElement.QueryGeometry Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITopologyElement.QueryGeometry Method

Copies the element's geometry into the specified geometry.

[Visual Basic .NET]
Public Sub QueryGeometry ( _
    ByVal Geometry As IGeometry _
)
[C#]
public void QueryGeometry (
    IGeometry Geometry
);
[C++]
HRESULT QueryGeometry(
  IGeometry* Geometry
);
[C++]

Parameters Geometry [in]
Geometry is a parameter of type IGeometry*

Product Availability

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

Remarks

The Geometry parameter must be an instance of an appropriate type of geometry for the topology element being called. For example, if the topology element is a node, a new point should be created and passed as the parameter, and if the topology element is an edge, a new polyline should be created and passed as the parameter.

See Also

ITopologyElement Interface