IRegistrationServices::GetProgIdForType Method (Type^)

 

Retrieves the COM ProgID for a specified type.

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

[SecurityCriticalAttribute]
String^ GetProgIdForType(
	Type^ type
)

Parameters

type
Type: System::Type^

The type whose ProgID 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: