SocialFeedManager.CreateFileAttachment método
Namespace: Microsoft.SharePoint.Client.Social
Assemblies: Microsoft.SharePoint.Client.UserProfiles.Silverlight (em Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (em Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (em Microsoft.SharePoint.Client.UserProfiles.dll)
Sintaxe
'Declaração
Public Function CreateFileAttachment ( _
name As String, _
description As String, _
fileData As Stream _
) As ClientResult(Of SocialAttachment)
'Uso
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
)
Parâmetros
- name
Tipo: System.String
- description
Tipo: System.String
- fileData
Tipo: System.IO.Stream
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientResult<SocialAttachment>