XmlDiff Constructor (XmlDiffOptions)

Microsoft XML Diff

Microsoft XML Diff 1.0 and XML Patch 1.0

XmlDiff Constructor (XmlDiffOptions)

Initializes the XmlDiff class with the specified options.

[Visual Basic]
Overloads Public Sub New(XmlDiffOptions options)
[C#]
public XmlDiff(XmlDiffOptions options);

Parameters

options
A pipe (|) delineated list (or in Visual Basic) of the XmlDiffOptions enumerations to use, or the enumeration None to run the comparison with all of the XmlDiffOptions set to false.

Example

[Visual Basic]
Dim xmlDiff As New XmlDiff(XmlDiffOptions.IgnoreComments Or XmlDiffOptions.IgnoreDtd)
[C#]
XmlDiff xmlDiff = new XmlDiff(XmlDiffOptions.IgnoreComments | XmlDiffOptions.IgnoreDtd);

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows .NET Server

See Also

XmlDiff Class | XmlDiff Members | Microsoft.XmlDiffPatch

© 2002 Microsoft Corporation. All rights reserved.