Freigeben über


IRegistrationServices.GetProgIdForType-Methode

Ruft die COM-ProgID für einen angegebenen Typ ab.

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

Syntax

'Declaration
Function GetProgIdForType ( _
    type As Type _
) As String
'Usage
Dim instance As IRegistrationServices
Dim type As Type
Dim returnValue As String

returnValue = instance.GetProgIdForType(type)
string GetProgIdForType (
    Type type
)
String^ GetProgIdForType (
    Type^ type
)
String GetProgIdForType (
    Type type
)
function GetProgIdForType (
    type : Type
) : String

Parameter

  • type
    Der Typ, dessen ProgID angefordert wird.

Rückgabewert

Die ProgID für den angegebenen Typ.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

IRegistrationServices-Schnittstelle
IRegistrationServices-Member
System.Runtime.InteropServices-Namespace