Lenguaje

Executable.IsAnnotationPresent(Class) Método

Definición

Determina si hay una anotación del tipo especificado en este archivo ejecutable.

[Android.Runtime.Register("isAnnotationPresent", "(Ljava/lang/Class;)Z", "GetIsAnnotationPresent_Ljava_lang_Class_Handler", ApiSince=26)]
public virtual bool IsAnnotationPresent(Java.Lang.Class annotationType);
[<Android.Runtime.Register("isAnnotationPresent", "(Ljava/lang/Class;)Z", "GetIsAnnotationPresent_Ljava_lang_Class_Handler", ApiSince=26)>]
override this.IsAnnotationPresent : Java.Lang.Class -> bool

Parámetros

annotationType
Class

Clase que representa el tipo de anotación que se va a buscar.

Devoluciones

true si hay una anotación del tipo especificado en este ejecutable; de lo contrario, false.

Implementaciones

Atributos

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a