Table of contents
TOC
折叠目录
展开目录

Application.Creator 属性 (PowerPoint)Application.Creator Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回一个Long ,代表在其中创建指定的对象的应用程序的四个字符创建者代码。例如,如果 PowerPoint 中创建对象时,此属性将返回 50575054 的十六进制数。只读的。Returns a Long that represents the four-character creator code for the application in which the specified object was created. For example, if the object was created in Microsoft PowerPoint, this property returns the hexadecimal number 50575054. Read-only.

语法Syntax

表达式创建者expression. Creator

表达式_一个表示应用程序对象的变量。_expression A variable that represents an Application object.

返回值Return Value

LongLong

注解Remarks

创建者属性是用于在 macintosh 的 Microsoft Office 应用程序而设计的。The Creator property is designed to be used in Microsoft Office applications for the Macintosh.

示例Example

以下示例显示关于 myObject 创建者的消息。This example displays a message about the creator of myObject.

Set myObject = Application.ActivePresentation.Slides(1).Shapes(1)

If myObject.Creator = &;h50575054 Then

    MsgBox "This is a PowerPoint object"

Else

    MsgBox "This is not a PowerPoint object"

End If

另请参阅See also

概念Concepts

Application 对象Application Object

© 2018 Microsoft