ArcGIS Runtime SDK for WPF - Library Reference
Execute Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > QueryTask Class : Execute Method

query
Specifies the attributes and spatial filter of the query.
Executes a query against an ArcGIS Server map layer. The result is returned as a FeatureSet. A FeatureSet contains an array of Graphic features, which can be added to the map using GraphicsLayer.Graphics.Add. This array will not be populated if no results are found.

Syntax

Visual Basic (Declaration) 
Public Function Execute( _
   ByVal query As Query _
) As FeatureSet
C# 
public FeatureSet Execute( 
   Query query
)

Parameters

query
Specifies the attributes and spatial filter of the query.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.