共用方式為


ModelElementClass.ImplementsInterface 方法

傳回值,這個值表示這個類別是否實作所提供的介面型別。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Function ImplementsInterface ( _
    interfaceType As Type _
) As Boolean
public bool ImplementsInterface(
    Type interfaceType
)
public:
bool ImplementsInterface(
    Type^ interfaceType
)
member ImplementsInterface : 
        interfaceType:Type -> bool 
public function ImplementsInterface(
    interfaceType : Type
) : boolean

參數

傳回值

型別:System.Boolean
如果這個項目實作所提供的介面,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

ModelElementClass 類別

Microsoft.Data.Schema.SchemaModel 命名空間