Freigeben über


IRegistrationServices.TypeRequiresRegistration-Methode: (Type)

 

Veröffentlicht: Oktober 2016

Bestimmt, ob der angegebene Typ registriert werden muss.

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

Syntax

[SecurityCriticalAttribute]
bool TypeRequiresRegistration(
    Type type
)
[SecurityCriticalAttribute]
bool TypeRequiresRegistration(
    Type^ type
)
[<SecurityCriticalAttribute>]
abstract TypeRequiresRegistration : 
        type:Type -> bool
<SecurityCriticalAttribute>
Function TypeRequiresRegistration (
    type As Type
) As Boolean

Parameter

  • type
    Type: System.Type

    Der Typ für COM-Registrierung Anforderungen zu überprüfen.

Rückgabewert

Type: System.Boolean

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

Sicherheit

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Versionsinformationen

.NET Framework
Verfügbar seit 1.1

Siehe auch

IRegistrationServices-Schnittstelle
System.Runtime.InteropServices-Namespace

Zurück zum Anfang