Application.ProductCode 属性 (PowerPoint)

返回 Microsoft PowerPoint 全局唯一标识符 (GUID)。 只读。

语法

expressionProductCode

expression:表示 Application 对象的变量。

返回值

String

备注

用户可能会用到 GUID,例如,当使用程序调用应用程序编程接口 (API) 时。

示例

此示例将 PowerPoint GUID 返回到变量 pptGUID

Dim pptGUID As String

pptGUID = Application.ProductCode

另请参阅

Application 对象

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。