ChartColorFormat.Application 属性 (Word)ChartColorFormat.Application property (Word)

在没有对象识别符时,返回一个代表 Microsoft Word 应用程序的**Application** 对象。When used without an object qualifier, returns an Application object that represents the Microsoft Word application. 如果使用对象识别符,则返回一个代表指定对象 (可对一个自动化对象使用该属性来返回该对象的应用程序) 创建者的 Application 对象。When used with an object qualifier, returns an Application object that represents the creator of the specified object (you can use this property with an Automation object to return the application of that object). 只读的。Read-only.

语法Syntax

expressionexpression. Application

_表达式_代表ChartColorFormat对象的变量。expression A variable that represents a 'ChartColorFormat' object.

示例Example

以下示例显示一条有关创建 myObject 的应用程序的消息。The following example displays a message about the application that created myObject.

Set myObject = ActiveDocument 
If myObject.Application.Value = "Microsoft Word" Then 
 MsgBox "This is a Word Application object." 
Else 
 MsgBox "This is not a Word Application object." 
End If

另请参阅See also

ChartColorFormat 对象ChartColorFormat Object