Parameter.GetAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns annotations that are present on this parameter.
[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[]
Returns
annotations present on this parameter
Implements
- Attributes
Remarks
Returns annotations that are present on this parameter. If no annotations are present, the returned array has length zero. Modifying the returned array does not affect arrays returned to other callers.
Java documentation for java.lang.reflect.Parameter.getAnnotations().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.