Share via


AddinSettings.HeadScript property

Gets or sets the contents of the head script in the Addin Settings.

Namespace:  Microsoft.SharePoint.Client.Publishing
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)

Syntax

'Declaration
Public Property HeadScript As String
    Get
    Set
'Usage
Dim instance As AddinSettings
Dim value As String

value = instance.HeadScript

instance.HeadScript = value
public string HeadScript { get; set; }

Property value

Type: System.String
The String that represents the head script in the Addin Settings.

Remarks

The content of the HeadScript property can be HTML markups, , or both. When enabled, the AddinSettings object includes its HeadScript content inside the tag on all site pages and list view pages.

See also

Reference

AddinSettings class

AddinSettings members

Microsoft.SharePoint.Client.Publishing namespace