Compartir a través de


validateOnParse Property (Windows CE 5.0)

Send Feedback

Indicates whether the parser should validate this document.

[Script]

Script Syntax

boolValue= oXMLDOMDocument.validateOnParse;objXMLDOMDocument.validateOnParse = boolValue;

Script Parameters

None.

Script Return Value

Boolean. If True, it validates during parsing. If False, it parses only for well-formed XML. The default is True.

[C/C++]

C/C++ Syntax

HRESULT get_validateOnParse(VARIANT_BOOL* isValidating);HRESULT put_validateOnParse(VARIANT_BOOLisValidating);

C/C++ Parameters

  • isValidating
    [out, retval][in] If True, validates during parsing. If False, parses only for well-formed XML.

C/C++ Return Values

  • S_OK
    Value returned if successful.
  • E_INVALIDARG (for get_validateOnParse only)
    Value returned if isValidating is Null.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

General Remarks

This member is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).

This property is read/write, and applies to the following interface:

DOMDocument.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.