SocialAttachment members

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

The SocialAttachment type exposes the following members.

Constructors

  Name Description
Public method SocialAttachment Initializes a new instance of a SocialAttachment object.

Top

Properties

  Name Description
Public property AttachmentKind Gets or sets the type of attachment.
Public property ClickAction Gets or sets the action to perform on the click event.
Public property ContentUri Gets or sets the URI to the attachment file.
Public property Description Gets or sets the attachment's description.
Public property Height Gets or sets the height of the attachment or its preview.
Public property Length Gets or sets the length of the attachment, in seconds.
Public property Name Gets or sets the attachment's name.
Public property PreviewHeight
Public property PreviewUri Gets or sets the URI for the attachment's preview image.
Public property PreviewWidth
Public property TypeId This member is reserved for internal use and is not intended to be used directly from your code. (Overrides ClientValueObject.TypeId.)
Public property Uri Gets or sets the URI to the list item for the attachment.
Public property Width Gets or sets the width of the attachment or its preview.

Top

Methods

  Name Description
Public method CustomFromJson This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientValueObject.)
Public method CustomWriteToXml This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientValueObject.)
Public method FromJson This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientValueObject.)
Protected method InitOnePropertyFromJson This member is reserved for internal use and is not intended to be used directly from your code. (Overrides ClientValueObject.InitOnePropertyFromJson(String, JsonReader).)
Public method ToString (Inherited from Object.)
Public method WriteToXml This member is reserved for internal use and is not intended to be used directly from your code. (Overrides ClientValueObject.WriteToXml(XmlWriter, SerializationContext).)

Top

See also

Reference

SocialAttachment class

Microsoft.SharePoint.Client.Social namespace