ILayerResultOptions.IncludeGeometry Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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

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.


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