_Application.DisplayAlerts プロパティ

定義

マクロの実行中に特定の警告とメッセージを処理する方法を設定または返します。

public:
 property Microsoft::Office::Interop::Word::WdAlertLevel DisplayAlerts { Microsoft::Office::Interop::Word::WdAlertLevel get(); void set(Microsoft::Office::Interop::Word::WdAlertLevel value); };
public Microsoft.Office.Interop.Word.WdAlertLevel DisplayAlerts { get; set; }
member this.DisplayAlerts : Microsoft.Office.Interop.Word.WdAlertLevel with get, set
Public Property DisplayAlerts As WdAlertLevel

プロパティ値

注釈

このプロパティを wdAlertsNone または wdAlertsMessageBox に設定した場合、Microsoft Wordは、実行が停止したときに wdAlertsAll に戻しません。 実行を停止したときに常に DisplayAlerts プロパティを wdAlertsAll に戻すようにコードを記述 する 必要があります。

適用対象