共用方式為


IAnnotation.AnnotationType Method

Definition

Returns the annotation interface of this annotation.

[Android.Runtime.Register("annotationType", "()Ljava/lang/Class;", "GetAnnotationTypeHandler:Java.Lang.Annotation.IAnnotationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Class? AnnotationType ();
[<Android.Runtime.Register("annotationType", "()Ljava/lang/Class;", "GetAnnotationTypeHandler:Java.Lang.Annotation.IAnnotationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AnnotationType : unit -> Java.Lang.Class

Returns

the annotation interface of this annotation

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