ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IntegratedMeshSceneLayer Class / InsertDefinitionQueries Method
A list containing DefinitionQuery objects.

In This Topic
    InsertDefinitionQueries Method (IntegratedMeshSceneLayer)
    In This Topic
    Insert a list of DefinitionQuery. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void InsertDefinitionQueries( 
       IEnumerable<DefinitionQuery> queries
    )
    Public Sub InsertDefinitionQueries( _
       ByVal queries As IEnumerable(Of DefinitionQuery) _
    ) 

    Parameters

    queries
    A list containing DefinitionQuery objects.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    A definition query with the same name already exists in the list.
    Where clause of a definition query is empty.
    Remarks
    The DefinitionQuery.Name of each DefinitionQuery cannot already exist in the list of DefinitionQueries. Similarly the DefinitionQuery.WhereClause cannot be empty.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also