次の方法で共有


IAnnotation.ToString Method

Definition

Returns a string representation of this annotation.

[Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler:Java.Lang.Annotation.IAnnotationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? ToString ();
[<Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler:Java.Lang.Annotation.IAnnotationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ToString : unit -> string

Returns

a string representation of this annotation

Attributes

Remarks

Returns a string representation of this annotation. The details of the representation are implementation-dependent, but the following may be regarded as typical:

&#064;com.example.Name(first="Duke", middle="of", last="Java")

Java documentation for java.lang.annotation.Annotation.toString().

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.

Applies to