ArcObjects Library Reference (Carto)  

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 [out, retval]

  LayerResultOptions is a parameter of type ILayerResultOptions

LayerResultOptions [in]

  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