다음을 통해 공유


XopDocument.SaveToXopPackage Method

Saves the XML infoset that is represented by this XopDocument to a stream as a MIME Multipart/Related XOP Package.

Namespace: Microsoft.Web.Services3.Mime
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim stream As Stream
Dim infosetContentType As String
Dim boundary As String
Dim startId As String
Dim xopDocument1 As XopDocument
xopDocument1.SaveToXopPackage(stream, infosetContentType, boundary, startId)

Syntax

'Declaration
Public Overridable Sub SaveToXopPackage( _
    ByVal stream As Stream, _
    ByVal infosetContentType As String, _
    ByVal boundary As String, _
    ByVal startId As String _
)
public virtual void SaveToXopPackage(
    Stream stream, 
    string infosetContentType, 
    string boundary, 
    string startId
);
public:
virtual void SaveToXopPackage(
    Stream^ stream,
    String^ infosetContentType,
    String^ boundary,
    String^ startId
);
public virtual void SaveToXopPackage(
    Stream stream, 
    System.String infosetContentType, 
    System.String boundary, 
    System.String startId
);
public function SaveToXopPackage(
     stream : Stream, 
     infosetContentType : String, 
     boundary : String, 
     startId : String
) : Void;

Parameters

  • stream
    The System.IO.Stream to write this XopDocument to.
  • infosetContentType
    The content type of the XML infoset represented by this XopDocument.
  • boundary
    The MIME boundary to use when generating the XOP package.
  • startId
    The content identifier that should be used for the start or root part of the package.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

XopDocument Class
XopDocument Members
Microsoft.Web.Services3.Mime Namespace