언어

Parameter.GetDeclaredAnnotations 메서드

정의

이 매개 변수에 직접 있는 주석을 반환합니다.

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

반품

이 매개 변수에 직접 표시되는 주석

구현

특성

설명

이 매개 변수에 직접 있는 주석을 반환하고 상속된 주석을 무시합니다. 주석이 직접 없는 경우 반환된 배열의 길이는 0입니다. 반환된 배열을 수정해도 다른 호출자에게 반환되는 배열에는 영향을 주지 않습니다.

에 대한 java.lang.reflect.Parameter.getDeclaredAnnotations()Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상