Expand Minimize

DocumentBase.FullName Property

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

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.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. To use this example, run it from the ThisDocument class in a document-level project.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft