HitFinder.FindInProperty | findInProperty method
[This documentation is preliminary and is subject to change.]
Searches the specified content property for occurrences of the current search text.
Syntax
var iVectorView = hitFinder.findInProperty(contentToSearch, propertyForContent);
public IReadOnlyList<TextRange> FindInProperty(
string contentToSearch,
string propertyForContent
)
Public Function FindInProperty(
contentToSearch As String,
propertyForContent As String
) As IReadOnlyList(Of TextRange)
public:
IVectorView<TextRange>^ FindInProperty(
String^ contentToSearch,
String^ propertyForContent
)
Parameters
contentToSearch
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]The string to search.
propertyForContent
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]The name of the property to search, like System.Author.
Return value
Type: IVectorView<TextRange> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<TextRange> [.NET]
A collection of occurrences of the current text in contentToSearch.
Requirements
Minimum supported client |
Windows 8.1 Preview |
Minimum supported server |
Windows Server 2012 R2 Preview |
Namespace |
Windows.Storage.Search Windows::Storage::Search [C++] |
Metadata |
Windows.winmd |
See also
Build date: 8/22/2013