다음을 통해 공유


TargetApi.AnnotationType Method

Definition

Returns the annotation interface of this annotation.

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

Returns

the annotation interface of this annotation

Implements

Attributes

Remarks

Returns the annotation interface of this annotation.

Java documentation for java.lang.annotation.Annotation.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