HitFinder class

[This documentation is preliminary and is subject to change.]

Searches a string or content property for the specified text.

Syntax

var hitFinder = new Windows.Storage.Search.HitFinder(string);
var hitFinder = new Windows.Storage.Search.HitFinder(string, string);
public sealed class HitFinder
Public NotInheritable Class HitFinder
public ref class HitFinder sealed 

Attributes

ActivatableAttribute(Windows.Storage.Search.IHitFinderFactory, 0x6030000)

MarshalingBehaviorAttribute(Agile)

VersionAttribute(100859904)

Members

The HitFinder class has these types of members:

  • Constructors
  • Methods

Constructors

The HitFinder class has these constructors.

Constructor Description
HitFinder(String) Initializes a new instance of the HitFinder class.
HitFinder(String, String) Initializes a new instance of the HitFinder class.

 

Methods

The HitFinder class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

Method Description
Find Searches the specified string for occurrences of the current search text.
FindInProperty Searches the specified content property for occurrences of the current search text.

 

Requirements

Minimum supported client

Windows 8.1 Preview [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 Preview [Windows Store apps only]

Namespace

Windows.Storage.Search Windows::Storage::Search [C++]

Metadata

Windows.winmd

See also

Object

 

 

Build date: 8/22/2013