C# Type GetTypeFromProgID(String)
Description
Type GetTypeFromProgID(String)
gets the type associated
with the specified program identifier (ProgID), returning null if an error
is encountered while loading the Type.
Syntax
Type.GetTypeFromProgID(String)
has the following syntax.
public static Type GetTypeFromProgID(
string progID
)
Parameters
Type.GetTypeFromProgID(String)
has the following parameters.
progID
- The ProgID of the type to get.
Returns
Type.GetTypeFromProgID(String)
method returns The type associated with the specified ProgID, if progID is a valid entry
in the registry and a type is associated with it; otherwise, null.