This document is archived and information here might be outdated.  Recommended version.


ILayerDescription3.LayerResultOptions Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerDescription3 Interface > ILayerDescription3.LayerResultOptions Property
ArcGIS Developer Help

ILayerDescription3.LayerResultOptions Property

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 [in]

LayerResultOptions is a parameter of type ILayerResultOptions* LayerResultOptions [out, retval]
LayerResultOptions is a parameter of type ILayerResultOptions**

Product Availability

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

Remarks

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.

See Also

ILayerDescription3 Interface