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: