Method FindItemsAsync
FindItemsAsync(PortalGroupContentSearchParameters)
Finds portal items that belong to this group and match the given search parameters.
Declaration
public Task<PortalGroupContentSearchResultSet> FindItemsAsync(PortalGroupContentSearchParameters searchParams)
Parameters
Type | Name | Description |
---|---|---|
Portal |
searchParams | The search parameters |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous search operation.
The value of the task result is a Portal |
Remarks
This method uses a Group Content Search operation that's designed specifically for finding items that belong
to a group. It differs from the Find
- If the Categories property is used, the categories specified there will be matched with group categories that have been specified by the group owner/administrator, as opposed to the organization-level categories that the general-purpose Search operation matches against.
-
An extra Sort
Field option is available,"added"
, to sort results by the time the items were added to this group.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.8 - 200.6 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.6 |
FindItemsAsync(PortalGroupContentSearchParameters, CancellationToken)
Finds portal items that belong to this group and match the given search parameters.
Declaration
public async Task<PortalGroupContentSearchResultSet> FindItemsAsync(PortalGroupContentSearchParameters searchParams, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Portal |
searchParams | The search parameters |
System. |
cancellationToken | A System. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous search operation.
The value of the task result is a Portal |
Remarks
This method uses a Group Content Search operation that's designed specifically for finding items that belong
to a group. It differs from the Find
- If the Categories property is used, the categories specified there will be matched with group categories that have been specified by the group owner/administrator, as opposed to the organization-level categories that the general-purpose Search operation matches against.
-
An extra Sort
Field option is available,"added"
, to sort results by the time the items were added to this group.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.8 - 200.6 |
Xamarin.Android | 100.8 - 100.14 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.6 |