SharedWorkspaceFile.URL Property

Returns the full uniform resource locator (URL) and file name of the shared workspace file.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
ReadOnly Default Property URL As String
    Get
'Usage
Dim instance As SharedWorkspaceFile
Dim value As String

value = instance
string this { get; }

Property Value

Type: System.String

Remarks

The URL property returns the address of the shared workspace file in this format: https://server/sites/user/workspace/Shared%Documents/MyWorkbook.xls.

The URL property returns a URL-encoded string. For example, a space in the folder name is represented by %20.

The SharedWorkspaceFile object does not have a Name or FileName property. The filename must be extracted from the URL property.

See Also

Reference

SharedWorkspaceFile Interface

SharedWorkspaceFile Members

Microsoft.Office.Core Namespace