Skip to main content

SearchResponse Constructors

An object defining constructors for the SearchResponse class.

SearchResponse(items)

Initializes a new instance of the SearchResponse class with the specified collection of search results.

Parameters:

items (required): IEnumerable<GetDMObjectSearchResponse>
The collection of document management object search results to be encapsulated in this response.

This constructor creates a new SearchResponse instance by calling the base constructor and initializing the Items property with the provided collection of search results. The constructor ensures that the search results are properly encapsulated and immutable after initialization.


SearchResponse()

Initializes a new instance of the SearchResponse class.