Condividi tramite


TickLabels.Application Property

When used without an object qualifier, this property returns an _Application object that represents the Microsoft Word application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property Application As Object
    Get
'Usage
Dim instance As TickLabels
Dim value As Object

value = instance.Application
Object Application { get; }

Property Value

Type: System.Object

Examples

This 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

Reference

TickLabels Interface

TickLabels Members

Microsoft.Office.Interop.Word Namespace