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
[C#]
public Boolean VerifySource(
  XmlNode node,
  UInt64 hashValue,
  XmlDiffOptions options
);

Parameters

node
The document, node, or fragment to be verified.
hashValue
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="http://schemas.microsoft.com/xmltools/2002/xmldiff" sourceXmlHash=" 3299133317929493637">

options
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.

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.