Share via


AnswerWizard.ClearFileList Method 

Clears the list of files for the current AnswerWizard, including the default list of files for the Microsoft Office host application.

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

Usage

Dim answerWizard1 As AnswerWizard
answerWizard1.ClearFileList()

Syntax

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

Remarks

Use this method to remove all entries from the current file list for the specified application. You can also use it to ensure that none of the default AnswerWizard files for the host application are available to users. You can then build a custom list of files by using the Add method of the AnswerWizardFiles collection.

To restore the default AnswerWizard file set for the host application, use the ResetFileList method.

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

AnswerWizard Interface
Microsoft.Office.Core Namespace

Other Resources

AnswerWizard Members