Megosztás a következőn keresztül:


Document.Application Property (2007 System)

Gets an Application that represents the creator of the document.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property Application As Application
'Usage
Dim instance As Document 
Dim value As Application 

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

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.

This example is for a document-level customization.

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

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace