Android Guides | Samples

Java.Lang.Override Class

Annotation type used to mark methods that override a method declaration in a superclass.

See Also: Override

Syntax

[Android.Runtime.Register("java/lang/Override", DoNotGenerateAcw=true)]
[System.Obsolete("Use IOverride interface instead")]
public abstract class Override : Object, IAnnotation, IDisposable

Remarks

Annotation type used to mark methods that override a method declaration in a superclass. Compilers produce an error if a method annotated with @Override does not actually override a method in a superclass.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.Override are listed below.

See Also: Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
AnnotationType() : Class