Method CreateForItemsOfTypes
CreateForItemsOfTypes(IEnumerable<PortalItemType>, string?, string?)
Creates a PortalGroupContentSearchParameters that will find items with a particular type.
Declaration
public static PortalGroupContentSearchParameters CreateForItemsOfTypes(IEnumerable<PortalItemType> types, string? owner = null, string? search = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<PortalItemType> | types | A list of one or more item types to search for. |
| string | owner | Username of the owner of the items; or |
| string | search | An optional string specifying additional criteria for the search; can be |
Returns
| Type | Description |
|---|---|
| PortalGroupContentSearchParameters | A PortalGroupContentSearchParameters with a configured Query. |
Remarks
Optionally restricts the search to items belonging to a specified owner.
An optional search string can be used to restrict the search even further.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.8 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.2 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.8 - 200.8 |
| Xamarin.Android | 100.8 - 100.14 |
| Xamarin.iOS | 100.8 - 100.15 |
| UWP | 100.8 - 200.8 |