Show / Hide Table of Contents

Constructor PortalGroupContentSearchParameters

PortalGroupContentSearchParameters(String)

Initializes a new instance of the PortalGroupContentSearchParameters class with a custom query string.

Declaration
public PortalGroupContentSearchParameters(string query)
Parameters
Type Name Description
System.String query

The query string to use. For example, "owner:username AND title:california".

Exceptions
Type Condition
System.ArgumentNullException

query is null.

See Also
Query

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.8 - 200.8
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 200.8

PortalGroupContentSearchParameters(Envelope)

Initializes a new instance of the PortalGroupContentSearchParameters class with a bounding box for a spatial search.

Declaration
public PortalGroupContentSearchParameters(Envelope boundingBox)
Parameters
Type Name Description
Envelope boundingBox

An Envelope specifying the bounding box.

Exceptions
Type Condition
System.ArgumentNullException

boundingBox is null.

System.ArgumentException

boundingBox has an unsupported SpatialReference.

See Also
BoundingBox

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.8 - 200.8
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 200.8

PortalGroupContentSearchParameters(String, Envelope)

Initializes a new instance of the PortalGroupContentSearchParameters class with a custom query string and a bounding box for a spatial search.

Declaration
public PortalGroupContentSearchParameters(string query, Envelope boundingBox)
Parameters
Type Name Description
System.String query

The query string to use. For example, "owner:username AND title:california".

Envelope boundingBox

An Envelope specifying the bounding box.

Exceptions
Type Condition
System.ArgumentNullException

query or boundingBox is null.

System.ArgumentException

boundingBox has an unsupported SpatialReference.

See Also
Query
BoundingBox

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.8 - 200.8
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 200.8

PortalGroupContentSearchParameters(String, Int32)

Initializes a new instance of the PortalGroupContentSearchParameters class with a custom query string and a custom limit on the number of results.

Declaration
public PortalGroupContentSearchParameters(string query, int limit)
Parameters
Type Name Description
System.String query

The query string to use. For example, "owner:username AND title:california".

System.Int32 limit

The maximum number of results to be returned. Default is 10.

Exceptions
Type Condition
System.ArgumentNullException

query is null.

System.ArgumentOutOfRangeException

limit is negative.

See Also
Query
Limit

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.8 - 200.8
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 200.8
In This Article
Back to top Copyright © 2022 Esri.