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
name
Type : System.StringLe nom de l'image.
description
Type : System.StringDescription facultative de l'image.
imageData
Type : System.IO.StreamUn flux pour lire les données d'image.
Valeur renvoyée
Type : Microsoft.Office.Server.Social.SPSocialAttachment
Une image en pièce jointe.