This topic has not yet been rated - Rate this topic

ComAutomationFactory.CreateObject Method

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Activates and returns a reference to the registered Automation server with the specified programmatic identifier (ProgID).

Namespace:  System.Windows.Interop
Assembly:  System.Windows (in System.Windows.dll)
public static IDisposable CreateObject(
	string progID
)

Parameters

progID
Type: System.String
The ProgID of the registered automation server to activate.

Return Value

Type: System.IDisposable
A late-bound reference to the specified automation server.

You must assign the return value to a variable of type Object in Visual Basic and type dynamic in C#. This enables you to use the reference as a late-bound object.

For more information about Automation, see Automation.

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)