_Application.DisplayAlerts Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the way certain alerts and messages are handled while a macro is running.
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
Property Value
Remarks
If you set this property to wdAlertsNone or wdAlertsMessageBox, Microsoft Word doesn't set it back to wdAlertsAll when execution stops. You should write your code in such a way that it always sets the DisplayAlerts property back to wdAlertsAll when it stops running.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin