SP. Objet Social.SocialAttachment (sp.userprofiles)

Représente une image, une vidéo ou un document dans un billet microblog.

**Dernière modification :**lundi 9 mars 2015

**S’applique à :**apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Social.SocialAttachment()

Membres

L'objet SocialAttachment a les membres suivants.

Constructeur

L'objet SocialAttachment a le constructeur suivant.

Constructeur

Description

SocialAttachment

Initializes a new instance of a SocialAttachment object.

Méthodes

L'objet SocialAttachment possède les méthodes suivantes.

Méthode

Description

initPropertiesFromJson

Ce membre est réservé à une utilisation interne et n’est pas destiné à être utilisé directement à partir de votre code.

writeToXml

Ce membre est réservé à une utilisation interne et n’est pas destiné à être utilisé directement à partir de votre code.

Propriétés

L'objet SocialAttachment possède les propriétés suivantes.

Propriété

Description

attachmentKind

Gets or sets the type of attachment.

clickAction

Gets or sets the action to perform on a click event.

contentUri

Gets or sets the URI to the attachment file.

Description

Gets or sets the attachment's description.

hauteur

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

longueur

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

Nom

Gets or sets the attachment's name.

previewUri

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

typeId

Ce membre est réservé à une utilisation interne et n’est pas destiné à être utilisé directement à partir de votre code.

URI

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

largeur

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

Voir aussi

Autres ressources

SP. Espace de noms social

Utiliser des flux sociaux dans SharePoint 2013

Comment : incorporer des images, des vidéos et des documents dans les publications de SharePoint Server 2013