SocialAttachment constructor

Initializes a new instance of a SocialAttachment object.

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New SocialAttachment()
public SocialAttachment()

Remarks

To create a video or document attachment for a microblog post, use the GetPreview method, which returns a provisioned attachment object. See How to: Embed images, videos, and documents in posts in SharePoint Server 2013.

See also

Reference

SocialAttachment class

SocialAttachment members

Microsoft.SharePoint.Client.Social namespace