ValidationStatus Property
Application Property
Attributes Property
BaseName Property
ChildNodes Property
ChildNodeSuggestions Property
Creator Property
FirstChild Property
HasChildNodes Property
LastChild Property
Level Property
NamespaceURI Property
NextSibling Property
NodeType Property
NodeValue Property
OwnerDocument Property
Parent Property
ParentNode Property
PlaceholderText Property
PreviousSibling Property
Range Property
SmartTag Property
Text Property
ValidationErrorText Property
ValidationStatus Property
XML Property
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

XMLNode.ValidationStatus Property

Returns a WdXMLValidationStatus constant that represents whether an element or attribute is valid according to the attached schema.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in

Dim xMLNode1 As XMLNode

Dim returnValue As WdXMLValidationStatus
returnValue = xMLNode1.ValidationStatus

WdXMLValidationStatus ValidationStatus {get;}
public WdXMLValidationStatus get_ValidationStatus();
function get ValidationStatus() : WdXMLValidationStatus;

WdXMLValidationStatus can be one of the following constants:

wdXMLValidationStatusCustom Indicates that the SetValidationError method was used to set ValidationErrorText 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

© 2016 Microsoft