GetProgIdForType Method

RegistrationServices.GetProgIdForType Method (Type)

 

Retrieves the COM ProgID for the specified type.

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

[SecurityCriticalAttribute]
public 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:
© 2016 Microsoft