Application Property
TOC
Collapse the table of content
Expand the table of content

DocumentBase.Application Property

 

Gets an Application that represents the creator of the document.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public Application Application { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Application

An Application that represents the creator of the document.

The following code example displays the application name in a message box. To use this example, run it from the ThisDocument class in a document-level project.

private void DocumentApplication()
{
    MessageBox.Show(this.Application.Name);
}
Return to top
Show:
© 2016 Microsoft