Share via


SocialAttachment.AttachmentKind property

Gets or sets the type of attachment.

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

Syntax

'Declaration
Public Property AttachmentKind As SocialAttachmentKind
    Get
    Set
'Usage
Dim instance As SocialAttachment
Dim value As SocialAttachmentKind

value = instance.AttachmentKind

instance.AttachmentKind = value
public SocialAttachmentKind AttachmentKind { get; set; }

Property value

Type: Microsoft.SharePoint.Client.Social.SocialAttachmentKind
Image = 0, Video = 1, Document = 2.

See also

Reference

SocialAttachment class

SocialAttachment members

Microsoft.SharePoint.Client.Social namespace

Other resources

How to: Embed images, videos, and documents in posts in SharePoint Server 2013