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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.