System.Text.Encoding.BodyName Property

When overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags.

Syntax

public virtual string BodyName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If your application needs an encoding for a body name, it should call Encoding.GetEncoding(string) with the Encoding.BodyName property. Often the method retrieves a different encoding from the test encoding furnished in the call. Generally only e-mail applications need to retrieve such an encoding; most other applications that need to describe an encoding should use its Encoding.WebName.

In some cases, the value of the Encoding.BodyName property corresponds to the international standard that defines that encoding. This does not imply that the actual implementation complies in full with that standard.

Requirements

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0