This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyElement Interface > ITopologyElement.QueryGeometry Method (ArcObjects .NET 10.5 SDK) |
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
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.