_Document.Creator 属性

定义

返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。Returns a 32-bit integer that indicates the application in which the specified object was created.

public:
 property int Creator { int get(); };
public int Creator { get; }
member this.Creator : int
Public ReadOnly Property Creator As Integer

属性值

Int32

注解

如果指定的对象是在 Microsoft Word 中创建的,则此属性返回十六进制数字是4d535744,表示字符串 "MSWD"。If the specified object was created in Microsoft Word, this property returns the hexadecimal number 4D535744, which represents the string "MSWD." [!注释] 此值还可以通过常量 wdCreatorCode 表示。This value can also be represented by the constant wdCreatorCode.

Creator属性主要用于在 Macintosh 上使用,其中每个应用程序都有一个四字符创建者代码。The Creator property was primarily designed to be used on the Macintosh, where each application has a four-character creator code. 例如,Microsoft Word 提供了 MSWD 的创建者代码。For example, Microsoft Word has the creator code MSWD. 有关此属性的其他信息,请参阅语言参考 Microsoft Office Macintosh 版本所附带的帮助。For additional information about this property, consult the language reference Help included with Microsoft Office Macintosh Edition.

适用于