Partager via


IncompleteAnnotationException.AnnotationType Method

Definition

Returns the Class object for the annotation interface with the missing element.

[Android.Runtime.Register("annotationType", "()Ljava/lang/Class;", "GetAnnotationTypeHandler")]
public virtual Java.Lang.Class? AnnotationType ();
[<Android.Runtime.Register("annotationType", "()Ljava/lang/Class;", "GetAnnotationTypeHandler")>]
abstract member AnnotationType : unit -> Java.Lang.Class
override this.AnnotationType : unit -> Java.Lang.Class

Returns

the Class object for the annotation interface with the missing element

Attributes

Remarks

Returns the Class object for the annotation interface with the missing element.

Java documentation for java.lang.annotation.IncompleteAnnotationException.annotationType().

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.

Applies to