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
- name
Type : System.String
- description
Type : System.String
- fileData
Type : System.IO.Stream
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<SocialAttachment>