IRegistrationServices.TypeRequiresRegistration(Type) 方法

定义

确定指定的类型是否需要注册。

public:
 bool TypeRequiresRegistration(Type ^ type);
public bool TypeRequiresRegistration (Type type);
[System.Security.SecurityCritical]
public bool TypeRequiresRegistration (Type type);
abstract member TypeRequiresRegistration : Type -> bool
[<System.Security.SecurityCritical>]
abstract member TypeRequiresRegistration : Type -> bool
Public Function TypeRequiresRegistration (type As Type) As Boolean

参数

type
Type

要检查用于 COM 注册要求的类型。

返回

如果该类型必须注册以供从 COM 使用,则为 true;否则为 false

属性

适用于