XMLNode.ValidationStatus 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 a WdXMLValidationStatus constant that represents whether an element or attribute is valid according to the attached schema.
public:
property Microsoft::Office::Interop::Word::WdXMLValidationStatus ValidationStatus { Microsoft::Office::Interop::Word::WdXMLValidationStatus get(); };
public Microsoft.Office.Interop.Word.WdXMLValidationStatus ValidationStatus { get; }
member this.ValidationStatus : Microsoft.Office.Interop.Word.WdXMLValidationStatus
Public ReadOnly Property ValidationStatus As WdXMLValidationStatus
Property Value
Remarks
WdXMLValidationStatus can be one of the following constants:
wdXMLValidationStatusCustom Indicates that the SetValidationError(WdXMLValidationStatus, Object, Boolean) method was used to set ValidationErrorText[Boolean] property to a custom text string.
wdXMLValidationStatusOK Indicates an XML element or attribute is valid according to the attached schema.
While these are the only two named constants the ValidationStatus property allows, there are many more unnamed values that come from the MSXML 5.0 component included with Microsoft Word. For more a complete list of possible values and their corresponding meaning, refer to the Microsoft Word XML Content Development Kit on the Microsoft Developer Network (MSDN) Web site.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應