Freigeben über


RegistrationServices.GetProgIdForType-Methode

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

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

Syntax

'Declaration
Public Overridable Function GetProgIdForType ( _
    type As Type _
) As String
'Usage
Dim instance As RegistrationServices
Dim type As Type
Dim returnValue As String

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

Parameter

  • type
    Der Typ, der der angeforderten ProgID entspricht.

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

RegistrationServices-Klasse
RegistrationServices-Member
System.Runtime.InteropServices-Namespace