ParseOptions Method

Microsoft XML Diff

Microsoft XML Diff 1.0 and XML Patch 1.0

XmlDiff.ParseOptions Method (String)

Takes an options attribute from an existing XDL Diffgram root element xd:xmldiff, parses it, and returns the XmlDiffOptions enumeration.

[Visual Basic]
Public Function ParseOptions( _
  ByVal options As String _
) As XmlDiffOptions
[C#]
public XmlDiffOptions ParseOptions(
  String options
);

Parameters

options
The options attribute from the root element xd:xmldiff of the XDL Diffgram.

Remarks

This method is useful when consuming the XDL Diffgram. The options attribute on the xd:xmldiff element contains a space-separated list of options used when the XDL Diffgram was generated. The ParseOptions method translates this list back into the XmlDiffOptions enumeration.

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.