ModelElementClass.ImplementsInterface Method
Returns a value that indicates whether this class implements the provided interface type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
Parameters
- interfaceType
Type: System.Type
A Type of an interface.
Return Value
Type: System.Boolean
true if this element implements the provided interface; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.