ESRI.ArcGIS.ADF.IMS
Fields Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > StoredQueryVariable Class : Fields Property




Describes the type of data to be used with the stored query.

Syntax

Visual Basic (Declaration) 
<XmlIgnoreAttribute()>
Public ReadOnly Property Fields As DataColumnCollection
Visual Basic (Usage)Copy Code
Dim instance As StoredQueryVariable
Dim value As DataColumnCollection
 
value = instance.Fields
C# 
[XmlIgnoreAttribute()]
public DataColumnCollection Fields {get;}

Remarks

The field will have the data type, length, etc. This can be used to ensure that the value inserted into the where expression of the stored query meets the criteria for the query.

The StoredQuery's WhereExpression is in string format, so that the search value must be converted to a string before inserting into the WhereExpression.

See Also

© 2010 All Rights Reserved.