RegistrationServices::GetProgIdForType Method (Type^)

 

Retrieves the COM ProgID for the specified type.

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

public:
[SecurityCriticalAttribute]
virtual String^ GetProgIdForType(
	Type^ type
)

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: