語言

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。

實作

屬性

適用於