Share via


IDeprecated.ForRemoval Method

Definition

Indicates whether the annotated element is subject to removal in a future version.

[Android.Runtime.Register("forRemoval", "()Z", "GetForRemovalHandler:Java.Lang.IDeprecatedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public bool ForRemoval ();
[<Android.Runtime.Register("forRemoval", "()Z", "GetForRemovalHandler:Java.Lang.IDeprecatedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member ForRemoval : unit -> bool

Returns

whether the element is subject to removal

Attributes

Remarks

Indicates whether the annotated element is subject to removal in a future version. The default value is false.

Added in 9.

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

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