HttpServerUtility.CreateObject Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)>]
member CreateObject : 
        type:Type -> Object

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: