IDeprecated.Since Method

Definition

Returns the version in which the annotated element became deprecated.

[Android.Runtime.Register("since", "()Ljava/lang/String;", "GetSinceHandler:Java.Lang.IDeprecatedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public string? Since ();
[<Android.Runtime.Register("since", "()Ljava/lang/String;", "GetSinceHandler:Java.Lang.IDeprecatedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member Since : unit -> string

Returns

the version string

Attributes

Remarks

Returns the version in which the annotated element became deprecated. The version string is in the same format and namespace as the value of the @since javadoc tag. The default value is the empty string.

Added in 9.

Java documentation for java.lang.Deprecated.since().

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