RegistrationServices.GetProgIdForType Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves the COM ProgID for the specified type.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

<SecurityCriticalAttribute>
Public Overridable Function GetProgIdForType (
	type As Type
) As String

Parameters

type
Type: System.Type

The type corresponding to the ProgID that is being requested.

Return Value

Type: System.String

The ProgID for the specified type.

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Return to top
Show: