共用方式為


SP.Web.title Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets the title for the Web site.

var value = SP.Web.get_title(); 
SP.Web.set_title(value);

Property Value

Type: string

Applies To

SP.Web Class

Remarks

Its length must be equal to or less than 255.

See Also

Reference

SP.Web Methods

SP.Web Properties

SP Namespace