ClassLoader.GetPackages Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all of the Package
s that have been defined by
this class loader and its ancestors.
[Android.Runtime.Register("getPackages", "()[Ljava/lang/Package;", "GetGetPackagesHandler")]
protected virtual Java.Lang.Package[]? GetPackages ();
[<Android.Runtime.Register("getPackages", "()[Ljava/lang/Package;", "GetGetPackagesHandler")>]
abstract member GetPackages : unit -> Java.Lang.Package[]
override this.GetPackages : unit -> Java.Lang.Package[]
The array of Package
objects that have been defined by
this class loader and its ancestors
- Attributes
Returns all of the Package
s that have been defined by this class loader and its ancestors. The returned array may contain more than one Package
object of the same package name, each defined by a different class loader in the class loader hierarchy.
Added in 1.2.
Java documentation for java.lang.ClassLoader.getPackages()
.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |