Controller.Content Method

Include Protected Members
Include Inherited Members

Creates a content result object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method Content(String) Creates a content result object by using a string.
Protected method Content(String, String) Creates a content result object by using a string and the content type.
Protected method Content(String, String, Encoding) Creates a content result object by using a string, the content type, and content encoding.

Top

See Also

Reference

Controller Class

System.Web.Mvc Namespace