This documentation is archived and is not being maintained.

Document.FullName Property (2007 System)

Gets the name of the document, including the drive or Web path.

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

public string FullName { get; }

Property Value

Type: System.String
The name of the document, including the drive or Web path.

Using this property is equivalent to using the Path, PathSeparator, and Name properties in sequence.

The following code example displays a message that shows the path and name of the document.

This example is for a document-level customization.

private void DocumentFullName()
{
    MessageBox.Show(this.FullName.ToString());
}

Show: