DynamicComObjectCreate Method (String, Boolean) |
Creates a COM object from a progID.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Object Create(
string progID,
bool throwOnError = true
)
Parameters
- progID
- Type: SystemString
The progID. - throwOnError (Optional)
- Type: SystemBoolean
true to throw any exception that occurs.-or- false to ignore any exception that occurs.
Return Value
Type:
ObjectAn instance of a COM object or null.
See Also