Export (0) Print
Expand All

IAppxFile interface

Retrieves information about a payload or footprint file in a package.

Members

The IAppxFile interface inherits from the IUnknown interface. IAppxFile also has these types of members:

Methods

The IAppxFile interface has these methods.

MethodDescription
GetCompressionOption

Retrieves the compression option that is used to store the file in the package.

GetContentType

Retrieves the content type of the file.

GetName

Retrieves the name of the file, including its path relative to the package root directory.

GetSize

Retrieves the uncompressed size of the file.

GetStream

Gets a read-only stream that contains the uncompressed content of the file.

 

Examples

For an example, see Quickstart: Extract app package contents.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxFile is defined as 91df827b-94fd-468f-827b-57f41b2f6f2e

See also

IAppxFilesEnumerator

 

 

Show:
© 2014 Microsoft