pmMDA.NET

PagingHelper.Contains Method 

[This is preliminary documentation and subject to change.]

Returns whether the persistent items of a paged collection contains a specified dataObject.

public bool Contains(
   IDataObject dataObject
);

Parameters

dataObject
The item to locate in the persistent items of a paged collection.

Return Value

true if the dataObject is found in the persistent items; otherwise, false.

Remarks

Only the persistent items are scanned. Locally added or removed items are omitted.

The request which tests whether the dataObject is part of the persistent items, must be sent to the server.

Exceptions

Exception TypeCondition
PagingException No data object manager is registered in the locator.
- or -
An error occurred while locating the dataObject.

See Also

PagingHelper Class | PmMda.Net.Dog.Paging Namespace