VerifySource Method

Microsoft XML Diff

Microsoft XML Diff 1.0 and XML Patch 1.0

XmlDiff.VerifySource Method (XmlNode, UInt64, XmlDiffOptions)

Returns true if the passed document, node or fragment is the source document, node, or fragment the XDL Diffgram was generated from.

[Visual Basic]
Public Function VerifySource( _
  ByVal node As XmlNode, _
  ByVal hashValue As UInt64, _
  ByVal options As XmlDiffOptions _
) As Boolean
public Boolean VerifySource(
  XmlNode node,
  UInt64 hashValue,
  XmlDiffOptions options


The document, node, or fragment to be verified.
The value of the sourceXmlHash attribute from the xd:xmldiff element that identifies the source document that the XDL Diffgram was generated from. This is an example of the xd:xmldiff element with the sourceXmlHash attribute:

<xmldiff xmlns="" sourceXmlHash=" 3299133317929493637">

The XmlDiffOption enumeration specifying the options used when the XDL Diffgram was generated. The enumeration can be obtained by passing the options attribute from the xd:xmldiff element of an XDL Diffgram into the ParseOptions method.


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.