WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MIMEPart - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MIMEPart

    base MIME part class

    Inheritance
    System.Object
    MIMEPart
    MIMEBoundaryPart
    MIMEDigestPart
    MIMERedirectPart
    Implements
    IMIMEPart
    IMIMESerialization
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.MIME.Base.Implementation.Parts
    Assembly: Syncfusion.MIME.Base.dll
    Syntax
    public class MIMEPart : IMIMEPart, IMIMESerialization

    Constructors

    MIMEPart(IMIMEPartHeader, String)

    Constructor wich creates part with attach header.

    Declaration
    public MIMEPart(IMIMEPartHeader header, string boundary)
    Parameters
    Type Name Description
    IMIMEPartHeader header

    parental header.

    System.String boundary

    boundary.

    Properties

    Close

    get\set if part must close itself

    Declaration
    public bool Close { get; set; }
    Property Value
    Type Description
    System.Boolean

    Data

    gets/sets part data

    Declaration
    public virtual Stream Data { get; set; }
    Property Value
    Type Description
    System.IO.Stream

    Header

    returns part header

    Declaration
    public virtual IMIMEPartHeader Header { get; }
    Property Value
    Type Description
    IMIMEPartHeader

    UniqueBoundary

    gets/sets value of unique part boundary

    Declaration
    public virtual string UniqueBoundary { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    CheckDataType(Stream)

    Writing part Data in specified encoding.

    Declaration
    protected virtual void CheckDataType(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    stream to write to.

    GetData()

    method to get part data.

    Declaration
    public byte[] GetData()
    Returns
    Type Description
    System.Byte[]

    part data

    Save(Stream)

    Method to save part.

    Declaration
    public virtual void Save(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    stream to write to.

    Implements

    IMIMEPart
    IMIMESerialization
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved