FileLocator Pro .NET Library
Show/Hide TOC

# SearchResultItemCollectionAddItemFromPath Method

Add an item to the list based on the path 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 AddItemFromPath(
    	string strPath
    )

C++

    public:
    SearchResultItem^ AddItemFromPath(
    	String^ strPath
    )

#### Parameters

strPath String
  The path to the item, usually a file or folder.

#### Return Value

SearchResultItem
The newly added item.

## See Also

#### Reference

SearchResultItemCollection Class
Mythicsoft.Search.Core Namespace