LayerResultOptionsClass

Layer Result Options CoClass.

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, QueryData, QueryRowIDs, QueryRowCount, QueryFeatureCount2, QueryFeatureIDs2, QueryFeatureData2 and QueryHyperlinks. QueryHyperLinks always returns geometry regardless InlcudeGeometry�s value, but honors GeometryResultOptions.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close