Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

[SecurityPermissionAttribute(SecurityAction.Demand, UnmanagedCode = true)]
public Object CreateObject(
	Type type
)

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