FileSearch.TextOrProperty Property
Returns or sets the word or phrase to be searched for, in either the body of a file or the file's properties, during the file search.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property TextOrProperty As String
Get
Set
'Usage
Dim instance As FileSearch
Dim value As String
value = instance.TextOrProperty
instance.TextOrProperty = value
string TextOrProperty { get; set; }
Property Value
Type: System.String
Remarks
The word or phrase can include the * (asterisk) or ? (question mark) wildcard character.
Use the question mark wildcard character to match any single character. For example, type gr?y to find all files that contain at least one instance of either "gray" or "grey."
Use the asterisk wildcard character to match any number of characters. For example, type San* to return all files that contain at least one word that begins with "San."