Share via


FileSearch.NewSearch Method 

Resets all the search criteria settings to their default settings.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Dim fileSearch1 As FileSearch
fileSearch1.NewSearch()

Syntax

Sub NewSearch()
void NewSearch();
public: Void NewSearch();
public void NewSearch();
function NewSearch();

Remarks

Some of the content in this topic may not be applicable to some languages.

Search criteria settings are retained throughout an application session. Use this method every time you change search criteria. This method will not reset the value of the LookIn property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

FileSearch Interface
Microsoft.Office.Core Namespace

Other Resources

FileSearch Members