Class.IsSealed Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true
if and only if this Class
object represents
a sealed class or interface.
public bool IsSealed { [Android.Runtime.Register("isSealed", "()Z", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isSealed", "()Z", "", ApiSince=34)>]
member this.IsSealed : bool
Property Value
true
if and only if this Class
object represents
a sealed class or interface.
- Attributes
Remarks
Returns true
if and only if this Class
object represents a sealed class or interface. If this Class
object represents a primitive type, void
, or an array type, this method returns false
. A sealed class or interface has (possibly zero) permitted subclasses; #getPermittedSubclasses()
returns a non-null but possibly empty value for a sealed class or interface.
Added in 17.
Java documentation for java.lang.Class.isSealed()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.