FileLocator Pro .NET Library
Show/Hide TOC

# SearchResultItemCollectionAddItemFromId Method

Add an item to the list based on the Id of an item.

## Definition

Namespace: Mythicsoft.Search.Core
Assembly: Mythicsoft.Search.Core (in Mythicsoft.Search.Core.dll) Version: 9.3.830.1
C#

    public SearchResultItem AddItemFromId(
    	string strId
    )

C++

    public:
    SearchResultItem^ AddItemFromId(
    	String^ strId
    )

#### Parameters

strId String
  The id of an item.

#### Return Value

SearchResultItem
The newly added item.

## Remarks

The Id for the item can be obtained using the Id property.

## See Also

#### Reference

SearchResultItemCollection Class
Mythicsoft.Search.Core Namespace