Click or drag to resize

ResourceManagementClientGetResources Method (String, IEnumerableString, IEnumerableSortingAttribute, 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
Syntax
public ISearchResultCollection GetResources(
	string filter,
	IEnumerable<string> attributesToGet,
	IEnumerable<SortingAttribute> sortAttributes,
	CultureInfo locale
)

Parameters

filter
Type: SystemString
The XPath filter defining the search criteria
attributesToGet
Type: System.Collections.GenericIEnumerableString
The list of attributes to retrieve
sortAttributes
Type: System.Collections.GenericIEnumerableSortingAttribute
A collection of attribute names and sort directions to order the results with
locale
Type: System.GlobalizationCultureInfo
The culture to use to request a localized version of the objects

Return Value

Type: ISearchResultCollection
A collection of matching resource objects
See Also