Parameter.GetAnnotations Método

Definición

Devuelve anotaciones que están presentes en este parámetro.

[Android.Runtime.Register("getAnnotations", "()[Ljava/lang/annotation/Annotation;", "", ApiSince=26)]
public Java.Lang.Annotation.IAnnotation[] GetAnnotations();
[<Android.Runtime.Register("getAnnotations", "()[Ljava/lang/annotation/Annotation;", "", ApiSince=26)>]
abstract member GetAnnotations : unit -> Java.Lang.Annotation.IAnnotation[]
override this.GetAnnotations : unit -> Java.Lang.Annotation.IAnnotation[]

Devoluciones

anotaciones presentes en este parámetro

Implementaciones

Atributos

Comentarios

Devuelve anotaciones que están presentes en este parámetro. Si no hay anotaciones, la matriz devuelta tiene la longitud cero. La modificación de la matriz devuelta no afecta a las matrices devueltas a otros llamadores.

Java documentación para java.lang.reflect.Parameter.getAnnotations().

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