Share via


SP. Social.SocialAttachment-Objekt (sp.userprofiles)

Stellt ein Bild, Video oder Dokument in eine Microblog-Beitrag.

**Letzte Änderung:**Montag, 9. März 2015

**Gilt für:**apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Social.SocialAttachment()

Elemente

Das SocialAttachment -Objekt verfügt über die folgenden Elemente.

Konstruktor

Das SocialAttachment -Objekt hat den folgenden Konstruktor.

Konstruktor

Beschreibung

SocialAttachment

Initializes a new instance of a SocialAttachment object.

Methoden

Das SocialAttachment -Objekt hat die folgenden Methoden.

Methode

Beschreibung

initPropertiesFromJson

Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden.

writeToXml

Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden.

Eigenschaften

Das SocialAttachment -Objekt hat die folgenden Eigenschaften.

Eigenschaft

Beschreibung

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.

Beschreibung

Gets or sets the attachment's description.

Höhe

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

Länge

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

Name

Gets or sets the attachment's name.

previewUri

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

typeId

Dieses Mitglied ist der internen Verwendung vorbehalten und kann nicht direkt in Ihrem Code verwendet werden.

URI

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

Breite

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

Siehe auch

Weitere Ressourcen

SP. Social-Namespace

Arbeiten mit sozialen Feeds in SharePoint 2013

Vorgehensweise: Bilder, Videos und Dokumente in Bereitstellungen von SharePoint Server 2013 einbetten