DocumentBase.Application Property

Definition

Gets an Application that represents the creator of the document.

public:
 property Microsoft::Office::Interop::Word::Application ^ Application { Microsoft::Office::Interop::Word::Application ^ get(); };
public Microsoft.Office.Interop.Word.Application Application { get; }
member this.Application : Microsoft.Office.Interop.Word.Application
Public ReadOnly Property Application As Application

Property Value

An Application that represents the creator of the document.

Examples

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);
}
Private Sub DocumentApplication()
    MessageBox.Show(Me.Application.Name)
End Sub 

Applies to