Class.GetDeclaredAnnotations 方法

定义

在 1 中添加。

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

返回

实现

属性

注解

在 1.5 中添加。

java.lang.Class.getDeclaredAnnotations()Java 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

适用于

另请参阅