Поделиться через


Метод SocialFeedManager.CreateFileAttachment

Пространство имен:  Microsoft.SharePoint.Client.Social
Сборки:   Microsoft.SharePoint.Client.UserProfiles.Silverlight (в Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll);  Microsoft.SharePoint.Client.UserProfiles.Phone (в Microsoft.SharePoint.Client.UserProfiles.Phone.dll)  Microsoft.SharePoint.Client.UserProfiles (в Microsoft.SharePoint.Client.UserProfiles.dll)

Синтаксис

'Декларация
Public Function CreateFileAttachment ( _
    name As String, _
    description As String, _
    fileData As Stream _
) As ClientResult(Of SocialAttachment)
'Применение
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
)

Параметры

Возвращаемое значение

Тип: Microsoft.SharePoint.Client.ClientResult<SocialAttachment>

См. также

Справочные материалы

SocialFeedManager класс

Элементы SocialFeedManager

Пространство имен Microsoft.SharePoint.Client.Social