語言

AccessibleObject.GetAnnotations 方法

定義

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

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

傳回

此物件上的註解

實作

屬性

備註

已在1.5中新增。

Java 文件 java.lang.reflect.AccessibleObject.getAnnotations()

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

適用於