CreateObject Method (String)
Collapse the table of content
Expand the table of content

HttpServerUtilityBase.CreateObject Method (String)

 

When overridden in a derived class, 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
)

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
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft