Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[SecurityPermissionAttribute(SecurityAction::Demand, UnmanagedCode = true)]
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
Available since 1.1
Return to top
Show:
© 2017 Microsoft