Document.Application-Eigenschaft (2007 System)

Aktualisiert: November 2007

Ruft eine Application ab, die den Ersteller des Dokuments darstellt.

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

Syntax

<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property Application As Application

Dim instance As Document
Dim value As Application

value = instance.Application
[BrowsableAttribute(false)]
public virtual Application Application { get; }

Eigenschaftenwert

Typ: Microsoft.Office.Interop.Word.Application

Eine Application, die den Ersteller des Dokuments darstellt.

Beispiele

Im folgenden Codebeispiel wird der Anwendungsname in einem Meldungsfeld angezeigt.

Dieses Beispiel bezieht sich auf eine Anpassung auf Dokumentebene.

Private Sub DocumentApplication()
    MessageBox.Show(Me.Application.Name)
End Sub 
private void DocumentApplication()
{
    MessageBox.Show(this.Application.Name);
}

Berechtigungen

Siehe auch

Referenz

Document-Klasse

Document-Member

Microsoft.Office.Tools.Word-Namespace