傳回值,這個值表示這個類別是否實作所提供的介面型別。
命名空間: 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
參數
- interfaceType
型別:System.Type
介面的 Type。
傳回值
型別:System.Boolean
如果這個項目實作所提供的介面,則為 true,否則為 false。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。