IRegistrationServices.TypeRequiresRegistration(Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷指定類型是否需要註冊。
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註冊要求的類型。
傳回
true 若該類型必須向COM註冊使用;否則 false。
- 屬性