다음을 통해 공유


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)

Syntax

'Declaration
Public ReadOnly Property FullNameURLEncoded As String
public string FullNameURLEncoded { get; }

Property Value

Type: System.String
The name of the object, including its path on disk.

Remarks

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 Sub DisplayFullNameURLEncoded()
    MsgBox("The path and name of the current workbook is: " & _
        Me.FullNameURLEncoded)
End Sub
private void DisplayFullNameURLEncoded()
{
    MessageBox.Show("The path and name of the current workbook is: " +
        this.FullNameURLEncoded);
}

.NET Framework Security

See Also

Reference

WorkbookBase Class

Microsoft.Office.Tools.Excel Namespace