Langage

Constructor.GetAnnotation(Class) Méthode

Définition

À ajouter

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

Paramètres

annotationType
Class

Retours

Implémente

Attributs

Remarques

À ajouter

Ajouté à la version 1.5.

Java documentation pour java.lang.reflect.Constructor.getAnnotation(java.lang.Class<T>).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à