HttpServerUtilityWrapper::CreateObject Method (String^)

 

Creates a server instance of a COM object that is identified by the object's programmatic identifier (ProgID).

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

public:
virtual Object^ CreateObject(
	String^ progID
) override

Parameters

progID
Type: System::String^

The class or type of object to create an instance of.

Return Value

Type: System::Object^

The new object.

Exception Condition
HttpException

An instance of the object could not be created.

.NET Framework
Available since 3.5
Return to top
Show: