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.





















Home »
  C# Tutorial »
    System »




Array
BitConverter
Boolean
Byte
Char
Console
ConsoleKeyInfo
Convert
DateTime
DateTimeOffset
Decimal
Double
Enum
Environment
Exception
Guid
Int16
Int32
Int64
Math
OperatingSystem
Random
SByte
Single
String
StringComparer
TimeSpan
TimeZone
TimeZoneInfo
Tuple
Tuple
Tuple
Type
UInt16
UInt32
UInt64
Uri
Version