![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
SubFields Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > Filter Class : SubFields Property |
Visual Basic (Declaration) | |
---|---|
Public Property SubFields As ESRI.ArcGIS.ADF.StringCollection |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Filter Dim value As ESRI.ArcGIS.ADF.StringCollection instance.SubFields = value value = instance.SubFields |
C# | |
---|---|
public ESRI.ArcGIS.ADF.StringCollection SubFields {get; set;} |
Specifies which fields from the layer are returned in an attribute query. If SubFields is not specified, all fields are returned. All fields are also returned if the value "#ALL#" is included in the string collection.
Multiple fields can be included in the SubFields array. The number of fields in the arrary is limited to 254.
If SubFields are specified and feature geometry is requested, it may be necessary to include a value of "#SHAPE#" (see QueryParameters.ReturnGeometries).
The SubFields array can include fields from a layer table or a joined table.
- For shapefiles with no joined tables, the field can be referenced using the short format.
field="AREA" - For shapefiles with joined tables, the name of the joined table must be included along with the field.
field="JOINEDTABLE.AREA" - For ArcSDE layers with or without joined tables, the field must be referenced using the full long format.
field="ARCSDENAME.TABLE.AREA"
Performance is generally better if the field names are all upper case.
Field names for a feature layer may be obtained from the FeatureLayer.Dataset property, in the dataset's Fields property.
SubFields has no effect when the Filter is used only for display of selected features on a map.
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