Initialize content type.

Namespace: MonoSoftware.MonoX
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
protected virtual void InitContentType(
	HttpContext context,
	string path
)
Visual Basic
Protected Overridable Sub InitContentType ( 
	context As HttpContext,
	path As String
)
Visual C++
protected:
virtual void InitContentType(
	HttpContext^ context, 
	String^ path
)
F#
abstract InitContentType : 
        context : HttpContext * 
        path : string -> unit 
override InitContentType : 
        context : HttpContext * 
        path : string -> unit 

Parameters

context
Type: System.Web..::..HttpContext
Http Context.
path
Type: System..::..String
File path.

See Also