Edit

Share via


FileSearch.FileName Property

Definition

Returns or sets the name of the file to look for during a file search.

public:
 property System::String ^ FileName { System::String ^ get(); void set(System::String ^ value); };
public string FileName { get; set; }
member this.FileName : string with get, set
Public Property FileName As String

Property Value

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.

Applies to