編輯

共用方式為


AnswerWizard Interface

Definition

Represents the Answer Wizard in a Microsoft Office application.

public interface class AnswerWizard : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0360-0000-0000-C000-000000000046")]
public interface AnswerWizard : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0360-0000-0000-C000-000000000046")>]
type AnswerWizard = interface
    interface _IMsoDispObj
Public Interface AnswerWizard
Implements _IMsoDispObj
Attributes
Implements

Remarks

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

There is only one Answer Wizard per application, and all changes to the AnswerWizard object or the AnswerWizardFiles collection affect the active Office application immediately.

Use the ClearFileList() method to remove all entries from the list of files available to the current Answer Wizard. Using this method ensures that the default files available to the Office host application are no longer accessible through the Answer Wizard, such as when you’re replacing the Answer Wizard files with custom .AW files.

Use the ResetFileList() method to restore the list of files for the current Answer Wizard to the default list of files for the Office host application. You can also establish a custom default file list in the Windows registry by adding the names of the custom files to the appropriate registry key; the files specified in that registry key will then be restored when ResetFileList is called.

Use the Files property to get the collection of Answer Wizard file references. The Files property returns a collection of strings that refer to .AW files.

Properties

Application

Returns an Application object that represents the container application for the object.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Files

Returns an AnswerWizardFiles collection that represents the list of files available to the current AnswerWizard.

Parent

Returns the Parent object for the specified object.

Methods

ClearFileList()

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

ResetFileList()

Resets the list of files for the current AnswerWizard to the default list of files for the Microsoft Office host application.

Applies to