WorkbookBase.FullNameURLEncoded Property

 

Gets the name of the object, including its path on disk.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

public string FullNameURLEncoded { get; }

Property Value

Type: System.String

The name of the object, including its path on disk.

The following code example uses the FullNameURLEncoded property to display the full name of the workbook, including its path, encoded as a URL.

This example is for a document-level customization.

private void DisplayFullNameURLEncoded()
{
    MessageBox.Show("The path and name of the current workbook is: " +
        this.FullNameURLEncoded);
}
Return to top
Show: