FileResult::ContentType Property

 

Gets the content type to use for the response.

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

public:
property String^ ContentType {
	String^ get();
	private: void set(String^ value);
}

Property Value

Type: System::String^

The type of the content.

Return to top
Show: