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,
	byte[] file
)
Visual Basic
Protected Overridable Sub InitContentType ( 
	context As HttpContext,
	file As Byte()
)
Visual C++
protected:
virtual void InitContentType(
	HttpContext^ context, 
	array<unsigned char>^ file
)
F#
abstract InitContentType : 
        context : HttpContext * 
        file : byte[] -> unit 
override InitContentType : 
        context : HttpContext * 
        file : byte[] -> unit 

Parameters

context
Type: System.Web..::..HttpContext
Http Context.
file
Type: array<System..::..Byte>[]()[][]
File in raw format.

See Also