FileLocator Pro .NET Library
Show/Hide TOC

# SearchResultItem Class

Represents an item found during a search.

## Definition

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

    public class SearchResultItem : IDisposable

C++

    public ref class SearchResultItem : IDisposable

Inheritance
  Object SearchResultItem

Implements
  IDisposable

## Constructors

SearchResultItem | Initializes a new instance of the SearchResultItem class

## Properties

FileName | Gets the name of the result item.
FoundLines | Gets the list of found lines for the item.
Id | Gets a unique id for the item
IsFolder | Gets the flag indicating whether or not this item is a folder
LineCount | Gets the number of lines on text in the file.
ModifiedDate | Gets the last modified date for the result item.
Path | Gets the path for the result item
Size | Gets the size of the item.
Text | Extracts the complete text from the file item.

## Methods

CopyFileTo | Copies the item to the specified path
Dispose | Releases all resources used by the SearchResultItem
Dispose(Boolean) | Releases the unmanaged resources used by the SearchResultItem and optionally releases the managed resources
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Non-GC class clean up (Overrides ObjectFinalize)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ReadXml | Recreates the item based on the Xml representation of the item.
SetSearchResult | Sets the text and found lines for an item.
ToString | Returns a string that represents the current object. (Inherited from Object)

## See Also

#### Reference

Mythicsoft.Search.Core Namespace