ArcGIS Pro 2.6 API Reference Guide
SubFields Property (QueryDef)

ArcGIS.Core.Data Namespace > QueryDef Class : SubFields Property
Gets or sets a comma (,) delimited string containing the names of fields for which values should be returned by the query.
Syntax
public string SubFields {get; set;}
Public Property SubFields As String
Remarks

The default setting for subfields is to request values to be returned for all fields. The strings of "*" or "" can be set to return the query to this default.

To set the subfields property to request the values to be returned for the "Name" and "Age" fields, a string of "Name, Age" should be provided (white space is optional).

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

QueryDef Class
QueryDef Members