Export (0) Print
Expand All

HttpServerUtility.CreateObject Method (Type)

Creates a server instance of a COM object identified by the object's type.

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

'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, UnmanagedCode := True)> _
Public Function CreateObject ( _
	type As Type _
) As Object

Parameters

type
Type: System.Type

A Type representing the object to create.

Return Value

Type: System.Object
The new object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft