ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
FromAdfSearchOrder Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class : FromAdfSearchOrder Method




order
The SearchOrder enumeration value to convert (Spatial, Attribute, or Undefined).
Returns the ArcGIS Server esriSearchOrder value corresponding to the Web ADF SearchOrder enumeration value.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromAdfSearchOrder( _
   ByVal order As SearchOrder _
) As esriSearchOrder
Visual Basic (Usage)Copy Code
Dim order As SearchOrder
Dim value As esriSearchOrder
 
value = Converter.FromAdfSearchOrder(order)
C# 
public static esriSearchOrder FromAdfSearchOrder( 
   SearchOrder order
)

Parameters

order
The SearchOrder enumeration value to convert (Spatial, Attribute, or Undefined).

Return Value

The equivalent ESRI.ArcGIS.ADF.ArcGISServer.esriSearchOrder value (esriSearchOrderSpatial or esriSearchOrderAttribute).

Remarks

This value is used to determine which aspect of a search will be performed first, when a search includes both spatial criteria and attributes criteria.

If the Web ADF SearchOrder value is Undefined, the return value will be esriSearchOrderAttribute.

See Also

© 2010 All Rights Reserved.