![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
ReturnGeometries Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > QueryParameters Class : ReturnGeometries Property |
Visual Basic (Declaration) | |
---|---|
Public Property ReturnGeometries As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As QueryParameters Dim value As Boolean instance.ReturnGeometries = value value = instance.ReturnGeometries |
C# | |
---|---|
public bool ReturnGeometries {get; set;} |
If true, queries will include feature geometry in the FeatureTable returned from the query. The column in the FeatureTable will be named "#SHAPE#" and will have a DataType of ESRI.ArcGIS.ADF.IMS.Geometry.Geometry. See FeatureTable for an example of requesting and handling geometry in a query request.
The default of ReturnGeometries is false.
If the Filter.SubFields are set to individual fields, it may be necessary to add the string value "#SHAPE#" to the collection in order for geometry to be returned.
As of ArcIMS 9.2, the server can be configured to block return of feature geometry. If not certain whether geometry is blocked, you should check for the presence of geometry in the results before attempting to use the geometry column in the FeatureTable returned from the query. See the ArcIMS Help topic "Restricting geometry in responses" for details.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family