PackageVolume Class
Definition
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.
public ref class PackageVolume sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PackageVolume final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PackageVolume
Public NotInheritable Class PackageVolume
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | GetAvailableSpaceAsync |
1607 | 14393 | IsAppxInstallSupported |
1607 | 14393 | IsFullTrustPackageSupported |
Properties
IsAppxInstallSupported |
Gets a boolean that indicates if APPX installing is supported. |
IsFullTrustPackageSupported |
Gets a boolean that indicates if full-trust Packages are supported. |
IsOffline |
Describes whether a volume is in an offline state. |
IsSystemVolume |
Describes whether a volume is an internal system volume mapped to the %SYSTEMDRIVER% environment variable. |
MountPoint |
Gets the path of the last known volume mount point. |
Name |
Gets the media ID of the volume. |
PackageStorePath |
Gets the absolute path for the Package store on the volume. |
SupportsHardLinks |
Gets a value that specifies whether the volume supports the creation of hard links in its file system. |
Methods
FindPackage(String) |
Gets a collection of info about all installed instances of the specified Package for all registered users. |
FindPackageForUser(String, String) |
Gets a collection of info about the installed instances of the specified Package for the specified user or users. |
FindPackages() |
Gets a collection of info about all installed instances of all Packages for all registered users. |
FindPackages(String, String) |
Gets a collection of info about all installed instances of the specified Package from the specified publisher for all registered users. |
FindPackages(String) |
Gets a collection of info about all installed instances of the specified Package for all registered users. |
FindPackagesForUser(String, String, String) |
Gets a collection of info about all installed instances of the specified Package from the specified publisher for the specified user or users. |
FindPackagesForUser(String, String) |
Gets a collection of info about all installed instances of the specified Package for the specified user or users. |
FindPackagesForUser(String) |
Gets a collection of info about all installed instances of all Package for the specified user or users. |
FindPackagesForUserWithPackageTypes(String, PackageTypes, String, String) |
Gets a collection of info about all installed instances of the specified Package for the specified user or users and with the specified package types. |
FindPackagesForUserWithPackageTypes(String, PackageTypes, String) |
Gets a collection of info about all installed instances of the specified Package for the specified user or users and with the specified package types. |
FindPackagesForUserWithPackageTypes(String, PackageTypes) |
Gets a collection of info about all installed instances of all Packages for the specified user or users and with the specified package types. |
FindPackagesWithPackageTypes(PackageTypes, String, String) |
Gets a collection of info about all installed instances of the specified Packages from the specified publisher with the specified package types for all registered users. |
FindPackagesWithPackageTypes(PackageTypes, String) |
Gets a collection of info about all installed instances of the specified Package with the specified package types for all registered users. |
FindPackagesWithPackageTypes(PackageTypes) |
Gets a collection of info about all installed instances of all Packages with the specified package types for all registered users. |
GetAvailableSpaceAsync() |
Gets the available space. |