ArcObjects Library Reference (Carto)  

LayerResultOptions CoClass

Layer Result Options CoClass.

Product Availability

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

Description

This object is new at ArcGIS 9.3.

Interfaces

Interfaces Description
IDocumentVersionSupportGEN (esriSystem) Provides access to extend the IObjectStream interface with methods to hande saving objects that did not exist in previous versions of the software.
ILayerResultOptions Provides access to methods that control geometry options.
IPersistStream (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.
IXMLVersionSupport (esriSystem) Provides access to members that help in serializing an object to different namespaces (versions).

Remarks

Use LayerResultOptions when you want to customize the results of a MapServer query - for example, when you want field names (instead of field aliases) or data in native format or in some cases you may want to limit or adjust the geometry being returned.

Since LayerResultsOptions is part of of the LayerDescription any settings made for LayerResultsOptions will only affect those methods that include the LayerDescription (or MapDescription whcih contains LayerDescriptions) as a parameter. These include Find, Identify, QueryDataQueryRowIDs, QueryRowCountQueryFeatureCount2, QueryFeatureIDs2QueryFeatureData2 and QueryHyperlinks. QueryHyperLinks always returns geometry regardless InlcudeGeometry’s value, but honors GeometryResultOptions.