Android.App.Activity.FinishActivity Method
Force finish another activity that you had previously started with Activity.StartActivityForResult(Android.Content.Intent, System.Int32).

Syntax

[Android.Runtime.Register("finishActivity", "(I)V", "GetFinishActivity_IHandler")]
public virtual void FinishActivity (int requestCode)

Parameters

requestCode
The request code of the activity that you had given to startActivityForResult(). If there are multiple activities started with this request code, they will all be finished.

Remarks

Force finish another activity that you had previously started with Activity.StartActivityForResult(Android.Content.Intent, System.Int32).

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1