Sprache

Package.GetDeclaredAnnotationsByType(Class) Methode

Definition

Hinzugefügt in 1.

[Android.Runtime.Register("getDeclaredAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", "GetGetDeclaredAnnotationsByType_Ljava_lang_Class_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "A extends java.lang.annotation.Annotation" })]
public virtual Java.Lang.Object[]? GetDeclaredAnnotationsByType(Java.Lang.Class? annotationClass);
[<Android.Runtime.Register("getDeclaredAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", "GetGetDeclaredAnnotationsByType_Ljava_lang_Class_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "A extends java.lang.annotation.Annotation" })>]
abstract member GetDeclaredAnnotationsByType : Java.Lang.Class -> Java.Lang.Object[]
override this.GetDeclaredAnnotationsByType : Java.Lang.Class -> Java.Lang.Object[]

Parameter

annotationClass
Class

Gibt zurück

Object[]

Implementiert

Attribute

Hinweise

Hinzugefügt in 1.8.

Java Dokumentation für java.lang.Package.getDeclaredAnnotationsByType(java.lang.Class<A>).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: