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
Inheritance
Object    SearchResultItem
Implements
IDisposable

Constructors

SearchResultItemInitializes 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
DisposeReleases all resources used by the SearchResultItem
Dispose(Boolean)Releases the unmanaged resources used by the SearchResultItem and optionally releases the managed resources
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Non-GC class clean up
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates 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.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also