次の方法で共有


ElementClass.ImplementsInterface メソッド

特定のインターフェイス型を実装するかどうかを返します。

名前空間 :  Microsoft.Data.Schema.SchemaModel
アセンブリ :  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Function ImplementsInterface ( _
    interfaceType As Type _
) As Boolean
'使用
Dim instance As ElementClass
Dim interfaceType As Type
Dim returnValue As Boolean

returnValue = instance.ImplementsInterface(interfaceType)
public bool ImplementsInterface(
    Type interfaceType
)
public:
bool ImplementsInterface(
    Type^ interfaceType
)
public function ImplementsInterface(
    interfaceType : Type
) : boolean

パラメータ

  • interfaceType
    型 : System.Type
    インターフェイス型を指定します。

戻り値

型 : System.Boolean
特定のインターフェイスを実装する場合は True を返します。

参照

参照

ElementClass クラス

ElementClass メンバ

Microsoft.Data.Schema.SchemaModel 名前空間