Partager via


SocialFeedManager.CreateFileAttachment - Méthode

Espace de noms :  Microsoft.SharePoint.Client.Social
Assemblys :   Microsoft.SharePoint.Client.UserProfiles.Silverlight (dans Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll);  Microsoft.SharePoint.Client.UserProfiles.Phone (dans Microsoft.SharePoint.Client.UserProfiles.Phone.dll)  Microsoft.SharePoint.Client.UserProfiles (dans Microsoft.SharePoint.Client.UserProfiles.dll)

Syntaxe

'Déclaration
Public Function CreateFileAttachment ( _
    name As String, _
    description As String, _
    fileData As Stream _
) As ClientResult(Of SocialAttachment)
'Utilisation
Dim instance As SocialFeedManager
Dim name As String
Dim description As String
Dim fileData As Stream
Dim returnValue As ClientResult(Of SocialAttachment)

returnValue = instance.CreateFileAttachment(name, _
    description, fileData)
public ClientResult<SocialAttachment> CreateFileAttachment(
    string name,
    string description,
    Stream fileData
)

Paramètres

Valeur renvoyée

Type : Microsoft.SharePoint.Client.ClientResult<SocialAttachment>

Voir aussi

Référence

SocialFeedManager classe

SocialFeedManager - Membres

Microsoft.SharePoint.Client.Social - Espace de noms