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 |
---|---|---|
System.Collections.Generic.IEnumerable<PortalItemType> | types | A list of one or more item types to search for. |
System.String | owner | Username of the owner of the items; or |
System.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 |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.4 |
.NET | 100.13 - 200.4 |
.NET Windows | 100.13 - 200.4 |
.NET Android | 200.2 - 200.4 |
.NET iOS | 200.0 - 200.4 |
.NET Framework | 100.8 - 200.4 |
Xamarin.Android | 100.8 - 100.14 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.3 |