Share via


ContentDispositionHeader members

The ContentDispositionHeader class represents a Content-Disposition header.

The ContentDispositionHeader type exposes the following members.

Constructors

  Name Description
Public method ContentDispositionHeader() The ContentDispositionHeader constructor creates a new ContentDispositionHeader object.
Public method ContentDispositionHeader(String) The ContentDispositionHeader constructor constructs a new ContentDispositionHeader object that has the value that is specified by value.

Top

Properties

  Name Description
Public property FirstChild The FirstChild property gets the MimeNode object that is the first child of this MimeNode object. (Inherited from MimeNode.)
Public property HasChildren The HasChildren property gets a bool value that indicates whether this MimeNode object has children. (Inherited from MimeNode.)
Public property HeaderId The HeaderId property gets the HeaderId enumeration that describes the type of header that is represented by this Header object. (Inherited from Header.)
Protected property IsReadOnly Gets a bool value that indicates whether the owning MimeDocument object is read-only. (Inherited from MimeNode.)
Public property Item The Item property returns the MimeParameter indicated by name. (Inherited from ComplexHeader.)
Public property LastChild The LastChild property gets the last child of this MimeNode object. (Inherited from MimeNode.)
Public property Name The Name property gets the name of this header. (Inherited from Header.)
Public property NextSibling The NextSibling property gets the next MimeNode object in the list of children that belong to this MimeNode object. (Inherited from MimeNode.)
Public property Parent The Parent property gets the MimeNode object that is the parent of this MimeNode object. (Inherited from MimeNode.)
Public property PreviousSibling The PreviousSibling property gets the previous MimeNode object in the list of children that belong to this MimeNode object. (Inherited from MimeNode.)
Public property Value The Value property gets and sets the value of this ContentDispositionHeader object. (Overrides Header.Value.)

Top

Methods

  Name Description
Public method AppendChild The AppendChild method puts a MimeNode object onto the end of the list of children that belong to this MimeNode object. (Inherited from MimeNode.)
Public method Clone The Clone method returns a deep copy of this ContentDispositionHeader object. (Overrides MimeNode.Clone().)
Public method CopyTo The CopyTo method puts a deep copy of this ContentDispositionHeader object into destination. (Overrides Header.CopyTo(Object).)
Public method GetEnumerator The GetEnumerator method returns a parameter enumerator that can be used to sequentially access the MimeParameter objects in this ComplexHeader object. (Inherited from ComplexHeader.)
Public method InsertAfter The InsertAfter method inserts a new MimeNode object after a specified MimeNode object in the list of the children of this MimeNode object. (Inherited from MimeNode.)
Public method InsertBefore The InsertBefore method inserts a new MimeNode object before a specified MimeNode object in the list of the children of this MimeNode object. (Inherited from MimeNode.)
Public method IsValueValid The IsValueValid(String) method indicates whether value is valid for this header. (Overrides Header.IsValueValid(String).)
Protected method Parse Parses the header. (Inherited from ComplexHeader.)
Public method PrependChild The PrependChild method puts a MimeNode at the start of the list of the children of this MimeNode object. (Inherited from MimeNode.)
Public method RemoveAll The RemoveAll method removes all children of this MimeNode object. (Inherited from MimeNode.)
Public method RemoveChild The RemoveChild method removes the specified child MimeNode object from the list of the children of this MimeNode object. (Inherited from MimeNode.)
Public method RemoveFromParent The RemoveFromParent method removes this MimeNode object from its parent. (Inherited from MimeNode.)
Public method ReplaceChild The ReplaceChild method replaces a specified MimeNode child object with another specified MimeNode object. (Inherited from MimeNode.)
Protected method ThrowIfReadOnly Throws an exception if the owning MimeDocument object is read-only. (Inherited from MimeNode.)
Public method TryGetValue The TryGetValue method tries to get the value of this Header object. TryGetValue does not throw an exception if it fails (Inherited from Header.)
Public method WriteTo(Stream) The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode to stream. (Inherited from MimeNode.)
Public method WriteTo(MimeWriter) The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode to writer. (Inherited from MimeNode.)
Public method WriteTo(Stream, EncodingOptions) The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode object into stream by using encodingOptions. (Inherited from MimeNode.)

Top

Fields

  Name Description
Protected field handleISO2022 true if multiple character sets need to be read; otherwise false. (Inherited from ComplexHeader.)
Protected field parsed true if the header has been parsed; Otherwise false. (Inherited from ComplexHeader.)

Top

See also

Reference

ContentDispositionHeader class

Microsoft.Exchange.Data.Mime namespace