Share via


SocialPost.Attachment property

Gets an image, video, or document attachment associated with the post.

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

Syntax

'Declaration
Public ReadOnly Property Attachment As SocialAttachment
    Get
'Usage
Dim instance As SocialPost
Dim value As SocialAttachment

value = instance.Attachment
public SocialAttachment Attachment { get; }

Property value

Type: Microsoft.SharePoint.Client.Social.SocialAttachment
An image, video, or document attachment associated with the post, if one exists.

See also

Reference

SocialPost class

SocialPost members

Microsoft.SharePoint.Client.Social namespace