Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public ReadOnly Property Application As Application
public Application Application { get; }
Property Value
Type: Application
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 Sub DocumentApplication()
MessageBox.Show(Me.Application.Name)
End Sub
private void DocumentApplication()
{
MessageBox.Show(this.Application.Name);
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.