FileSearchResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a result from searching files, containing the file name, a content snippet, and matching lines.
public sealed class FileSearchResult
type FileSearchResult = class
Public NotInheritable Class FileSearchResult
- Inheritance
-
FileSearchResult
Constructors
| Name | Description |
|---|---|
| FileSearchResult() | |
Properties
| Name | Description |
|---|---|
| FileName |
Gets or sets the name of the file that matched the search. |
| MatchingLines |
Gets or sets the lines where matches were found. |
| Snippet |
Gets or sets a snippet of content from the file around the first match. |