共用方式為


SummaryInfo.Persist 方法

SummaryInfo物件格式的Persist方法,並將先前儲存的屬性寫入標準 SummaryInformation 資料流程。 如果無法成功寫入資料流程,它會產生錯誤。 只有在設定所有屬性值之後,才能呼叫這個方法一次。 寫入資料流程之後,仍可讀取屬性。

語法

SummaryInfo.Persist()

參數

這個方法沒有任何參數。

傳回值

這個方法不會傳回值。

規格需求

需求
版本
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer
DLL
Msi.dll
IID
IID_ISummaryInfo定義為 000C109B-0000-0000-C000-000000000046