SPSocialFeedManager.CreateImageAttachment - Méthode

Génère une image en pièce jointe d'un billet microblog.

Espace de noms :  Microsoft.Office.Server.Social
Assembly :  Microsoft.Office.Server.UserProfiles (dans Microsoft.Office.Server.UserProfiles.dll)

Syntaxe

'Déclaration
Public Function CreateImageAttachment ( _
    name As String, _
    description As String, _
    imageData As Stream _
) As SPSocialAttachment
'Utilisation
Dim instance As SPSocialFeedManager
Dim name As String
Dim description As String
Dim imageData As Stream
Dim returnValue As SPSocialAttachment

returnValue = instance.CreateImageAttachment(name, _
    description, imageData)
public SPSocialAttachment CreateImageAttachment(
    string name,
    string description,
    Stream imageData
)

Paramètres

  • description
    Type : System.String

    Description facultative de l'image.

Valeur renvoyée

Type : Microsoft.Office.Server.Social.SPSocialAttachment
Une image en pièce jointe.

Voir aussi

Référence

SPSocialFeedManager classe

SPSocialFeedManager - Membres

Microsoft.Office.Server.Social - Espace de noms