Condividi tramite


Class.GetAnnotation(Class) Metodo

Definizione

Aggiunta in 1.

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

Parametri

annotationClass
Class

Restituisce

Implementazioni

Attributi

Commenti

Aggiunto nella versione 1.5.

Documentazione java per java.lang.Class.getAnnotation(java.lang.Class<A>).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a