Export (0) Print
Expand All
Expand Minimize

Workbook.FullNameURLEncoded Property

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

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public virtual string FullNameURLEncoded { get; }

Property Value

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.

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

Show:
© 2015 Microsoft