ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / DefinitionQuery Class / DefinitionQuery Constructor / DefinitionQuery Constructor(String,String)
The name to assign to the definition query.
The where clause for the definition query.

In This Topic
    DefinitionQuery Constructor(String,String)
    In This Topic
    Creates a new instance of the DefinitionQuery object.
    Syntax
    public DefinitionQuery( 
       string name,
       string whereClause
    )
    Public Function New( _
       ByVal name As String, _
       ByVal whereClause As String _
    )

    Parameters

    name
    The name to assign to the definition query.
    whereClause
    The where clause for the definition query.
    Remarks
    Leave the name blank and a unique one will be assigned when the definition query is inserted into the respective layer
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also