Compartilhar via


ListObject.SharePointURL Property

Returns a String representing the URL of the SharePoint list for a given ListObject object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property SharePointURL As String
    Get
'Usage
Dim instance As ListObject
Dim value As String

value = instance.SharePointURL
string SharePointURL { get; }

Property Value

Type: System.String

Remarks

Accessing this property generates a run-time error if the list is not linked to a SharePoint site.

See Also

Reference

ListObject Interface

ListObject Members

Microsoft.Office.Interop.Excel Namespace