ContentResult.ContentEncoding Property

Gets or sets the content encoding.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

member ContentEncoding : Encoding with get, set

Property Value

Type: System.Text.Encoding
The content encoding.
Show: