Share via


BundleResponse.ContentType Property

Gets or sets the media type that is sent in the HTTP content/type header.

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

Syntax

'Declaration
Public Property ContentType As String 
    Get 
    Set
'Usage
Dim instance As BundleResponse 
Dim value As String 

value = instance.ContentType

instance.ContentType = value
public string ContentType { get; set; }
public:
property String^ ContentType {
    String^ get ();
    void set (String^ value);
}
member ContentType : string with get, set
function get ContentType () : String 
function set ContentType (value : String)

Property Value

Type: System.String
The media type that is sent in the HTTP content/type header.

See Also

Reference

BundleResponse Class

System.Web.Optimization Namespace