SPSocialAttachment SPSocialAttachment SPSocialAttachment Class


Represents an image, video, or document in a microblog post.

public ref class SPSocialAttachment
[Microsoft.SharePoint.Client.ClientCallableType(Name="SocialAttachment", ServerTypeId="74C3AAFE-F743-415A-A839-EE0AB0F340A1", ValueObject=true)]
public class SPSocialAttachment
Public Class SPSocialAttachment


SPSocialAttachment() SPSocialAttachment() SPSocialAttachment()

Initializes a new instance of the SPSocialAttachment class.


AttachmentKind AttachmentKind AttachmentKind

Gets or sets the attachment type.

ClickAction ClickAction ClickAction

Gets or sets the action to be performed on click event.

ContentUri ContentUri ContentUri

Gets or sets the URI to the attachment file.

Description Description Description

Gets or sets the attachment's description.

Height Height Height

Gets or sets the height of the attachment or its preview.

Length Length Length

Gets or sets the length of the attachment, in seconds.

Name Name Name

Gets or sets the attachment's name.

PreviewUri PreviewUri PreviewUri

Gets or sets the URI for the attachment's preview image.

Uri Uri Uri

Gets or sets the URI to the list item for the attachment.

Width Width Width

Gets or sets the width of the attachment or its preview.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to