---
schema_version: "1"
id: fec6d57a575d647bb779fd886db5158f57dd79ad83fc74bd147f44a4b9f3df42
title: SearchResult Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/apex_class_id_verification_SearchResult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7a05985a31e43bee427938326f1a3bdda16867f8e1872dfcc01fe9ed1ddf37e7
description: Contains the contract of search results in tabular format for either the object-based or text-based search.Creates an instance of the SearchResult class with the specified parameter values.Creates an instance of the SearchResult class.Represents the search result header field list that contains the metadata information of the columns that are part of the search result.Represents the search result row field list that contains the column values for a specific row.
---
# SearchResult Class

Contains the contract of search results in tabular format for either the object-based or text-based search.

## Namespace

[id\_verification](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_namespace_id_verification.htm "The id_verification namespace provides an interface and classes for Health Cloud to verify the caller’s identity.")

- **[SearchResult Constructors](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResult.htm#apex_id_verification_SearchResult_constructors)**
- **[SearchResult Properties](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResult.htm#apex_id_verification_SearchResult_properties)**

## SearchResult Constructors

The following are constructors for SearchResult.

- **[SearchResult(searchResultHeaders, searchResultRows)](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResult.htm#apex_id_verification_SearchResult_ctor)**  
    Creates an instance of the [SearchResult](#apex_class_id_verification_SearchResult "Contains the contract of search results in tabular format for either the object-based or text-based search.") class with the specified parameter values.
- **[SearchResult()](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResult.htm#apex_id_verification_SearchResult_ctor_2)**  
    Creates an instance of the [SearchResult](#apex_class_id_verification_SearchResult "Contains the contract of search results in tabular format for either the object-based or text-based search.") class.

### SearchResult(searchResultHeaders, searchResultRows)

Creates an instance of the [SearchResult](#apex_class_id_verification_SearchResult "Contains the contract of search results in tabular format for either the object-based or text-based search.") class with the specified parameter values.

#### Signature

public SearchResult(List<id\_verification.SearchResultHeader> searchResultHeaders, List<id\_verification.SearchResultRow> searchResultRows)

#### Parameters

searchResultHeaders

Type: List<[id\_verification.SearchResultHeader](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResultHeader.htm#apex_class_id_verification_SearchResultHeader "Contains information about the search result header field list. This list represents the metadata information of the columns that are part of the search result.")\>

Represents the search result header field list that contains the metadata information of the columns that are part of the search result.

searchResultRows

Type: List<[id\_verification.SearchResultRow](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResultRow.htm#apex_class_id_verification_SearchResultRow "Contains information about the search result row field list. This list represents the column values for a specific row that are part of the search result.")\>

Represents the search result row field list that contains the column values for a specific row.

### SearchResult()

Creates an instance of the [SearchResult](#apex_class_id_verification_SearchResult "Contains the contract of search results in tabular format for either the object-based or text-based search.") class.

#### Signature

public SearchResult()

## SearchResult Properties

The following are properties for SearchResult.

- **[searchResultHeaders](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResult.htm#apex_id_verification_SearchResult_searchResultHeaders)**  
    Represents the search result header field list that contains the metadata information of the columns that are part of the search result.
- **[searchResultRows](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResult.htm#apex_id_verification_SearchResult_searchResultRows)**  
    Represents the search result row field list that contains the column values for a specific row.

### searchResultHeaders

Represents the search result header field list that contains the metadata information of the columns that are part of the search result.

#### Signature

public List<id\_verification.SearchResultHeader> searchResultHeaders {get; set;}

#### Property Value

Type: List<[id\_verification.SearchResultHeader](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResultHeader.htm#apex_class_id_verification_SearchResultHeader "Contains information about the search result header field list. This list represents the metadata information of the columns that are part of the search result.")\>

### searchResultRows

Represents the search result row field list that contains the column values for a specific row.

#### Signature

public List<id\_verification.SearchResultRow> searchResultRows {get; set;}

#### Property Value

Type: List<[id\_verification.SearchResultRow](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_id_verification_SearchResultRow.htm#apex_class_id_verification_SearchResultRow "Contains information about the search result row field list. This list represents the column values for a specific row that are part of the search result.")\>