AddinPlugin class
Represents the settings of a social plugin.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Publishing.AddinPlugin
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class AddinPlugin
'Usage
Dim instance As AddinPlugin
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class AddinPlugin
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 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.