ContentResult.Content Property

Gets or sets the content.

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

Syntax

'Declaration
Public Property Content As String
    Get
    Set
public string Content { get; set; }
public:
property String^ Content {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The content.

See Also

Reference

ContentResult Class

System.Web.Mvc Namespace