FileSearch.FileName Property
Returns or sets the name of the file to look for during a file search.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property FileName As String
Get
Set
'Usage
Dim instance As FileSearch
Dim value As String
value = instance.FileName
instance.FileName = value
string FileName { get; set; }
Property Value
Type: System.String
Remarks
Some of the content in this topic may not be applicable to some languages.
The name of the file may include the * (asterisk) or ? (question mark) wildcards. Use the question mark wildcard to match any single character. For example, type gr?y to match both "gray" and "grey." Use the asterisk wildcard to match any number of characters. For example, type *.txt to find all files that have the .TXT extension.