Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Interface '<interfacename>' cannot inherit from itself: <message>
Collapse the table of content
Expand the table of content

Interface '<interfacename>' cannot inherit from itself: <message> 

An Inherits Statement in an interface definition specifies its own interface.

An interface can inherit from another interface, which provides it with all the members of the interface it inherits from, so it does not have to define those members again. Such an interface is called a derived interface, and the interface it inherits from is called the base interface.

It is meaningless for an interface to inherit from itself, because it already possesses all its own members.

Error ID: BC30296

To correct this error

  1. Check the spelling of the interface name in the Inherits statement.

  2. If you do not intend to inherit from a different interface, remove the Inherits statement entirely.

  3. Examine the cited message for suggestions.

See Also

Community Additions

© 2015 Microsoft