Patch Method (String, Stream, XmlReader)

Microsoft XML Diff

Microsoft XML Diff 1.0 and XML Patch 1.0

XmlPatch.Patch Method (String, Stream, XmlReader)

Modifies the document or fragment indicated by the file name or URL by applying the XDL Diffgram parsed by an XmlReader. The resulting patched document or fragment is outputted to a Stream.

 [Visual Basic]
Overloads Public Sub Patch( _
  ByVal sourceFile As String, _
  ByVal outputStream As Stream, _
  ByVal diffgramReader As XmlReader _
)
[C#]
public void Patch(
  String sourceFile,
  Stream outputStream,
  XmlReader diffgramReader
);

Parameters

sourceFile
A file name or URL containing the original source XML document or fragment to be modified.
outputStream
The stream to which you want to output the resulting patched document or fragment.
diffgramReader
The XDL Diffgram parsed by the XmlReader that is applied to the source XML document or fragment.

Requirements

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

See Also

XmlPatch Class | XmlPatch Members | Microsoft.XmlDiffPatch

© 2002 Microsoft Corporation. All rights reserved.