ArcObjects Library Reference (Carto)  

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(
  VARIANT_BOOL IncludeGeometry
);
[C++]

Parameters

IncludeGeometry [out, retval]   IncludeGeometry is a parameter of type VARIANT_BOOL IncludeGeometry [in]   IncludeGeometry is a parameter of type VARIANT_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 InlcudeGeometrys value.

See Also

ILayerResultOptions Interface