LumiSoft Net Help
Parse Method (owner, defaultContentType, stream)
Namespaces ► LumiSoft.Net.MIME ► MIME_b_Multipart ► Parse(MIME_Entity, MIME_h_ContentType, SmartStream)
Parses body from the specified stream
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    protected static MIME_b Parse(
    	MIME_Entity owner,
    	MIME_h_ContentType defaultContentType,
    	SmartStream stream
    )

    Protected Shared Function Parse (
    	owner As MIME_Entity,
    	defaultContentType As MIME_h_ContentType,
    	stream As SmartStream
    ) As MIME_b

    protected:
    static MIME_b^ Parse(
    	MIME_Entity^ owner,
    	MIME_h_ContentType^ defaultContentType,
    	SmartStream^ stream
    )

    static member Parse :
            owner : MIME_Entity *
            defaultContentType : MIME_h_ContentType *
            stream : SmartStream -> MIME_b

Parameters

owner (MIME_Entity)
  Owner MIME entity.

defaultContentType (MIME_h_ContentType)
  Default content-type for this body.

stream (SmartStream)
  Stream from where to read body.

Return Value
MIME_b
Returns parsed body.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when stream, defaultContentType or stream is null reference.
ParseException | Is raised when any parsing errors.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119