MediaTypeNames::Text Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 ref class Text abstract sealed 

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: