RegistrationServices.TypeRequiresRegistration(Type) 方法

定义

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

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

参数

type
Type

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

返回

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

实现

属性

适用于