SocialFeedManager.CreateFileAttachment method
Namespace: Microsoft.SharePoint.Client.Social
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
Syntax
'Declaration
Public Function CreateFileAttachment ( _
name As String, _
description As String, _
fileData As Stream _
) As ClientResult(Of SocialAttachment)
'Usage
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
)
Parameters
- name
Type: System.String
- description
Type: System.String
- fileData
Type: System.IO.Stream
Return value
Type: Microsoft.SharePoint.Client.ClientResult<SocialAttachment>