Show / Hide Table of Contents

Class RelatedQueryParameters

Contains the input parameters for a related tables query.

Inheritance
Object
RelatedQueryParameters
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class RelatedQueryParameters
Remarks

Instances of this class represent the query parameters to perform a related query operation. A prerequisite for querying related features is that all the participating tables must be part of a map, as either feature layers or non-spatial tables. RelatedQueryParameters lets you specify details about the related query to perform and how to return the result, including:

  • Details about the relationship to be queried.
  • A where clause used to filter features from the related table.
  • How to sort the results.
  • Whether to return geometry within the results.

Constructors

Name Description
RelatedQueryParameters(RelationshipInfo)

Initializes a new instance of the RelatedQueryParameters class with the specified relationship info.

Properties

Name Description
MaxFeatures

Gets or sets the maximum number of features the query should return.

OrderByFields

Gets the list of order by objects which indicate how to sort the results.

RelationshipInfo

Gets or sets the relationship info used to define the tables to use for this query.

ResultOffset

Gets or sets the starting offset of results to fetch.

ReturnGeometry

Gets or sets a value indicating whether geometries are returned in the related feature query result.

WhereClause

Gets or sets where clause to apply to the destination table.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15

Relevant samples

Map image layer tables: Find features in a spatial table related to features in a non-spatial table.
In This Article
Back to top Copyright © 2022 Esri.