语言

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 注册要求的类型。

返回

true 如果必须注册类型才能从 COM 使用,则为否则 false。

实现

属性

适用于