Share via


SPSocialNewPost 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, _
    pPostType As String, _
    pLength As Integer, _
    pMentions As Integer, _
    pTags As Integer, _
    pLinks As Integer, _
    pAttachments As Integer, _
    pRootPostId As String, _
    pYammerSwitchOn As String _
)
'Usage
Dim pMBEntityType As String
Dim pSiteId As String
Dim pWebId As String
Dim pPostType As String
Dim pLength As Integer
Dim pMentions As Integer
Dim pTags As Integer
Dim pLinks As Integer
Dim pAttachments As Integer
Dim pRootPostId As String
Dim pYammerSwitchOn As String

Dim instance As New SPSocialNewPost(pMBEntityType, _
    pSiteId, pWebId, pPostType, pLength, _
    pMentions, pTags, pLinks, pAttachments, _
    pRootPostId, pYammerSwitchOn)
public SPSocialNewPost(
    string pMBEntityType,
    string pSiteId,
    string pWebId,
    string pPostType,
    int pLength,
    int pMentions,
    int pTags,
    int pLinks,
    int pAttachments,
    string pRootPostId,
    string pYammerSwitchOn
)

Parameters

See also

Reference

SPSocialNewPost class

SPSocialNewPost members

Microsoft.SharePoint.Administration namespace