Share via


IResponse.ContentType Property

.NET Framework 4

Gets or sets the content type of the response.

Namespace:  Microsoft.AspNet.SignalR.Hosting
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

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

value = instance.ContentType

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

Property Value

Type: System.String

See Also

Reference

IResponse Interface

Microsoft.AspNet.SignalR.Hosting Namespace