The requested page is not available for the requested platform. You are viewing the content for Default platform.

Seal Class

Makes the current class sealed (uninheritable).

Availability

From the context menus or via shortcuts:

  • when the edit cursor or caret is on a class declaration.

Example

class ClassA
Class ClassA

Result:

sealed class ClassA
NotInheritable Class ClassA