InstallationManager.FindPackages(String, String) | findPackages(String, String) method

Applies to Windows Phone only

Finds all installed packages with the specified name and publisher.

Syntax


var iIterable = Windows.Phone.Management.Deployment.InstallationManager.findPackages(packageName, packagePublisher);

Parameters

packageName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The package name. This parameter cannot be null.

packagePublisher

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The package publisher. This parameter cannot be null.

Return value

Type: IIterable<Package> [JavaScript/C++] | System.Collections.Generic.IEnumerable<Package> [.NET]

If the method succeeds, an enumerable collection of package objects with the same package name and publisher name is returned. Each Package object in this collection contains information about the package, including but not limited to its name, publisher, version, and install location. If no packages with the specified name and publisher are found, this method returns an empty list.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Phone.Management.Deployment
Windows::Phone::Management::Deployment [C++]

Metadata

Windows.winmd

See also

InstallationManager
FindPackages

 

 

Community Additions

ADD
Show:
© 2014 Microsoft