Udostępnij za pośrednictwem


Workbook.FullNameURLEncoded Property (2007 System)

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

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

Syntax

'Declaration
Public ReadOnly Property FullNameURLEncoded As String
'Usage
Dim instance As Workbook 
Dim value As String 

value = instance.FullNameURLEncoded
public string FullNameURLEncoded { get; }
public:
property String^ FullNameURLEncoded {
    String^ get ();
}
public function get FullNameURLEncoded () : String

Property Value

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

Examples

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

Workbook Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace