共用方式為


Intent.RemoveExtra(String) Method

Definition

Remove extended data from the intent.

[Android.Runtime.Register("removeExtra", "(Ljava/lang/String;)V", "GetRemoveExtra_Ljava_lang_String_Handler")]
public virtual void RemoveExtra (string? name);
[<Android.Runtime.Register("removeExtra", "(Ljava/lang/String;)V", "GetRemoveExtra_Ljava_lang_String_Handler")>]
abstract member RemoveExtra : string -> unit
override this.RemoveExtra : string -> unit

Parameters

name
String
Attributes

Remarks

Remove extended data from the intent.

Java documentation for android.content.Intent.removeExtra(java.lang.String).

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

See also

  • <xref:Android.Content.Intent.PutExtra(System.String%2c+Android.OS.Bundle)>