应用程序编译属性 (Visio)Application.Build property (Visio)

返回当前运行的实例的内部版本号。Returns the build number of the running instance. 此为只读属性。Read-only.

语法Syntax

表达式生成expression.Build

expression:表示 Application 对象的变量。expression A variable that represents an Application object.

返回值Return value

LongLong

注解Remarks

下表描述了内部版本号的格式。The format of the build number is described in the following table.

BitsBits 说明Description
0 – 150 – 15 内部版本号Internal build number

在创建新文档时, 会将正在运行的实例的内部版本号写入**BuildNumberCreated** 属性, 并在编辑文档时将其写入**BuildNumberEdited** 属性。The build number of the running instance is written to the BuildNumberCreated property when a new document is created, and to the BuildNumberEdited property when a document is edited.

示例Example

以下 Microsoft Visual Basic for Applications (VBA) 宏显示如何使用 Build 属性获取当前运行的 Visio 实例的内部版本号。This Microsoft Visual Basic for Applications (VBA) macro shows how to use the Build property to get the build number of the running instance of Visio.

 
Public Sub Build_Example() 
 
 Debug.Print Application.Build 
 
End Sub

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.