MediaTypeNames.Text Class

 

Specifies the type of text data in an e-mail message attachment.

Namespace:   System.Net.Mime
Assembly:  System (in System.dll)

System.Object
  System.Net.Mime.MediaTypeNames.Text

public static class Text

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticHtml

Specifies that the MediaTypeNames.Text data is in HTML format.

System_CAPS_pubfieldSystem_CAPS_staticPlain

Specifies that the MediaTypeNames.Text data is in plain text format.

System_CAPS_pubfieldSystem_CAPS_staticRichText

Specifies that the MediaTypeNames.Text data is in Rich Text Format (RTF).

System_CAPS_pubfieldSystem_CAPS_staticXml

Specifies that the MediaTypeNames.Text data is in XML format.

.NET Framework
Available since 2.0

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

Return to top
Show: