Class MIMEHeaderContentTypeAttribute
MIMEHeaderContentType attribute class.
Inheritance
System.Object
MIMEHeaderContentTypeAttribute
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.MIME.Base.Implementation.Attributes
Assembly: Syncfusion.MIME.Base.dll
Syntax
public class MIMEHeaderContentTypeAttribute : MIMEHeaderSubTypesAttribute, IMIMEHeaderSubTypesAttribute, IMIMEHeaderAttribute, IMIMESerialization
Constructors
MIMEHeaderContentTypeAttribute(IMIMEHeader)
Default constructor which set attribute name to MIMEConsts.ContentType.
Declaration
public MIMEHeaderContentTypeAttribute(IMIMEHeader header)
Parameters
Type | Name | Description |
---|---|---|
IMIMEHeader | header | parental header. |
MIMEHeaderContentTypeAttribute(IMIMEHeader, String)
Constructo allow to specify parent header object and attribute name
Declaration
public MIMEHeaderContentTypeAttribute(IMIMEHeader header, string name)
Parameters
Type | Name | Description |
---|---|---|
IMIMEHeader | header | reference on parent object |
System.String | name | attribute name |
Methods
Save(Stream)
Specific save method for current attribute.
Declaration
public override void Save(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | stream to write to. |
Overrides
SetSupportedSubTypes()
setting supported sub attributes.
Declaration
protected override void SetSupportedSubTypes()