ContentResult.ContentEncoding Property
Gets or sets the content encoding.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property ContentEncoding As Encoding
Get
Set
public Encoding ContentEncoding { get; set; }
public:
property Encoding^ ContentEncoding {
Encoding^ get ();
void set (Encoding^ value);
}
Property Value
Type: System.Text.Encoding
The content encoding.