ContentTypeAttribute.ContentType Property
Gets or sets the content type.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public string ContentType { get; private set; }
public:
property String^ ContentType {
String^ get();
private: void set(String^ value);
}
member ContentType : string with get, private set
Public Property ContentType As String
Get
Private Set
End Property
Property Value
Type: System.String
The content type.
See Also
ContentTypeAttribute Class
Microsoft.Web.Mvc Namespace
Return to top