Export (0) Print
Expand All

ContentResult.ContentType Property

Gets or sets the type of the content.

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

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

value = instance.ContentType

instance.ContentType = value

Property Value

Type: System.String
The type of the content.
Show:
© 2014 Microsoft