This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerDescription3 Interface > ILayerDescription3.LayerResultOptions Property (ArcObjects .NET 10.5 SDK) |
Indicate whether to include and/or modify Geometry.
[Visual Basic .NET] Public Property LayerResultOptions As ILayerResultOptions
[C#] public ILayerResultOptions LayerResultOptions {get; set;}
[C++]
HRESULT get_LayerResultOptions(
ILayerResultOptions** LayerResultOptions
);
[C++]
HRESULT putref_LayerResultOptions(
ILayerResultOptions* LayerResultOptions
);
[C++]
Parameters LayerResultOptions [out, retval]
LayerResultOptions is a parameter of type ILayerResultOptions LayerResultOptions [in]
LayerResultOptions is a parameter of type ILayerResultOptions
In some cases you may 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 improve the performance by limiting or adjusting 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 which contains LayerDescriptions) as a parameter.