共用方式為


List.ParentWebUrl Property

Gets a value that specifies the server-relative URL of the site that contains the list.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ParentWebUrl As String
    Get
'Usage
Dim instance As List
Dim value As String

value = instance.ParentWebUrl
[RemoteAttribute]
public string ParentWebUrl { get; }

Property Value

Type: System.String
Returns a String instance representing the server-relative URL of the site that contains the list.

Remarks

It must be a URL of server-relative form.

See Also

Reference

List Class

List Members

Microsoft.SharePoint.Client Namespace