IAppxBundleManifestOptionalBundleInfo::GetFileName method (appxpackaging.h)

Retrieves the file-name attribute of the <OptionalBundle>.

Syntax

HRESULT GetFileName(
  [out, retval] LPWSTR *fileName
);

Parameters

[out, retval] fileName

Type: LPWSTR*

A string that contains the file name of the package.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header appxpackaging.h

See also

IAppxBundleManifestOptionalBundleInfo