Share via


AddinPlugin class

Represents the settings of a social plugin.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.Publishing.AddinPlugin

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

Syntax

'Declaration
Public Class AddinPlugin _
    Inherits ClientObject
'Usage
Dim instance As AddinPlugin
public class AddinPlugin : ClientObject

Remarks

Social plugins are social UI widgets for public facing websites (small business websites in SharePoint Online). In a SharePoint Online page, social plugins are encapsulated as ScriptEditorWebPart objects with markup defined by the Addin Plugin.

This markup can contain snippets in HTML, JavaScript, or both that is rendered on SharePoint Online site pages where it is inserted.

When an Addin Plugin object is installed, a ScriptEditorWebPart object will be created in the Social Plugins Web Part category with the markup property as its contents. For example, the Facebook Integration App defines several social plugins that are encapsulated in Addin Plugin instances. One of these is the Facebook Like Button.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

AddinPlugin members

Microsoft.SharePoint.Client.Publishing namespace