Share via


SPSocialLikePost constructor

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    pMBEntityType As String, _
    pSiteId As String, _
    pWebId As String, _
    pLikeOp As String, _
    pTargetedPost As String, _
    pLikers As Integer, _
    pYammerSwitchOn As String _
)
'Usage
Dim pMBEntityType As String
Dim pSiteId As String
Dim pWebId As String
Dim pLikeOp As String
Dim pTargetedPost As String
Dim pLikers As Integer
Dim pYammerSwitchOn As String

Dim instance As New SPSocialLikePost(pMBEntityType, _
    pSiteId, pWebId, pLikeOp, pTargetedPost, _
    pLikers, pYammerSwitchOn)
public SPSocialLikePost(
    string pMBEntityType,
    string pSiteId,
    string pWebId,
    string pLikeOp,
    string pTargetedPost,
    int pLikers,
    string pYammerSwitchOn
)

Parameters

See also

Reference

SPSocialLikePost class

SPSocialLikePost members

Microsoft.SharePoint.Administration namespace