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

ILayerResultOptions.IncludeGeometry Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerResultOptions Interface > ILayerResultOptions.IncludeGeometry Property
ArcGIS Developer Help

ILayerResultOptions.IncludeGeometry Property

Indicates whether we should include Geometry.

[Visual Basic .NET]
Public Property IncludeGeometry As Boolean
public bool IncludeGeometry {get; set;}
HRESULT get_IncludeGeometry(
  VARIANT_BOOL IncludeGeometry
HRESULT put_IncludeGeometry(
  Boolean* IncludeGeometry
IncludeGeometry [in]

IncludeGeometry is a parameter of type bool IncludeGeometry [out, retval]
IncludeGeometry is a parameter of type bool*

Product Availability

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


If IncludeGeometry is set to False, no geometry is returned. This should increase performance in cases where feature geometry is large. The default value for IncludeGeometry is True.

QueryHyperLinks() always returns geometry regardless InlcudeGeometry�s value.

See Also

ILayerResultOptions Interface