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
[C#]
public bool IncludeGeometry {get; set;}
[C++]
HRESULT get_IncludeGeometry(
  VARIANT_BOOL IncludeGeometry
);
[C++]
HRESULT put_IncludeGeometry(
  Boolean* IncludeGeometry
);
[C++]
Parameters
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.

Remarks

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