ResourceManagementClient.GetResources Method (String, Int32, IEnumerable<String>, IEnumerable<SortingAttribute>, CultureInfo) |
Uses the specified XPath filter to find matching objects in the resource management service, synchronously, using the specified page size, and retrieving the specified attributes
Namespace:
Lithnet.ResourceManagement.Client
Assembly:
Lithnet.ResourceManagement.Client (in Lithnet.ResourceManagement.Client.dll) Version: 1.0.6435.24467
Syntaxpublic ISearchResultCollection GetResources(
string filter,
int pageSize,
IEnumerable<string> attributesToGet,
IEnumerable<SortingAttribute> sortAttributes,
CultureInfo locale
)
Public Function GetResources (
filter As String,
pageSize As Integer,
attributesToGet As IEnumerable(Of String),
sortAttributes As IEnumerable(Of SortingAttribute),
locale As CultureInfo
) As ISearchResultCollection
public:
ISearchResultCollection^ GetResources(
String^ filter,
int pageSize,
IEnumerable<String^>^ attributesToGet,
IEnumerable<SortingAttribute^>^ sortAttributes,
CultureInfo^ locale
)
Parameters
- filter
- Type: System.String
The XPath filter defining the search criteria - pageSize
- Type: System.Int32
The number of results to request from the server at a time - attributesToGet
- Type: System.Collections.Generic.IEnumerable<String>
The list of attributes to retrieve - sortAttributes
- Type: System.Collections.Generic.IEnumerable<SortingAttribute>
A collection of attribute names and sort directions to order the results with - locale
- Type: System.Globalization.CultureInfo
The culture to use to request a localized version of the objects
Return Value
Type:
ISearchResultCollectionA collection of matching resource objects
See Also