Freigeben über


IRegistrationServices.TypeRequiresRegistration-Methode

Bestimmt, ob für den angegebenen Typ eine Registrierung erforderlich ist.

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

Syntax

'Declaration
Function TypeRequiresRegistration ( _
    type As Type _
) As Boolean
'Usage
Dim instance As IRegistrationServices
Dim type As Type
Dim returnValue As Boolean

returnValue = instance.TypeRequiresRegistration(type)
bool TypeRequiresRegistration (
    Type type
)
bool TypeRequiresRegistration (
    Type^ type
)
boolean TypeRequiresRegistration (
    Type type
)
function TypeRequiresRegistration (
    type : Type
) : boolean

Parameter

  • type
    Der Typ, der auf COM-Registrierungsanforderungen überprüft werden soll.

Rückgabewert

true, wenn der Typ für die Verwendung durch COM registriert werden muss, andernfalls false.

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