IRegistrationServices.TypeRequiresRegistration Method (Type)

 

Determines whether the specified type requires registration.

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

[SecurityCriticalAttribute]
bool TypeRequiresRegistration(
	Type type
)

Parameters

type
Type: System.Type

The type to check for COM registration requirements.

Return Value

Type: System.Boolean

true if the type must be registered for use from COM; otherwise false.

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: