語言

AccessibleObject.GetDeclaredAnnotations 方法

定義

回傳直接 存在 於此物件上的註解。

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

傳回

註解直接存在於此物件上

實作

屬性

備註

已在1.5中新增。

Java 文件 java.lang.reflect.AccessibleObject.getDeclaredAnnotations()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於