Android Guides | Samples

Java.Lang.Class.Package Property

Returns the Package of which the class represented by this Class is a member.

Syntax

[get: Android.Runtime.Register("getPackage", "()Ljava/lang/Package;", "GetGetPackageHandler")]
public Package Package { get; }

Remarks

Returns the Package of which the class represented by this Class is a member. Returns null if no Package object was created by the class loader of the class.

[Android Documentation]

Requirements

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