Condividi tramite


Type.isInterface Method

Returns a value that indicates whether the specified type is an interface. This is a static member that is invoked directly without creating an instance of the class.

Type.isInterface(type);

Parameters

Parameter

Description

type

The type to test.

Return Value

true if the specified type is an interface; otherwise, false.

See Also

Reference

Type Class