Android.App.Instrumentation.TargetContext Property
Return a Context for the target application being instrumented.

Syntax

[get: Android.Runtime.Register("getTargetContext", "()Landroid/content/Context;", "GetGetTargetContextHandler")]
public virtual Android.Content.Context TargetContext { get; }

See Also

Instrumentation.Context

Value

Documentation for this section has not yet been entered.

Remarks

Return a Context for the target application being instrumented. Note that this is often different than the Context of the instrumentation code, since the instrumentation code often lives is a different package than that of the application it is running against. See Instrumentation.Context to retrieve a Context for the instrumentation code.

[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