共用方式為


SP.List.parentWeb Property

Applies to: SharePoint Foundation 2010

Gets a value that specifies the site that contains the list.

var value = SP.List.get_parentWeb();

Property Value

Type: SP.Web

Applies To

SP.List Class

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace