SocialFeedManager.CreateImageAttachment 方法
建立圖像附件的微型部落格文章。
命名空間: 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 CreateImageAttachment ( _
name As String, _
description As String, _
imageData As Stream _
) As ClientResult(Of SocialAttachment)
'用途
Dim instance As SocialFeedManager
Dim name As String
Dim description As String
Dim imageData As Stream
Dim returnValue As ClientResult(Of SocialAttachment)
returnValue = instance.CreateImageAttachment(name, _
description, imageData)
public ClientResult<SocialAttachment> CreateImageAttachment(
string name,
string description,
Stream imageData
)
參數
name
類型:System.String圖像的名稱。
description
類型:System.String圖像的選擇性的描述。
imageData
類型:System.IO.Stream讀取圖像資料流。
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<SocialAttachment>
圖像附件。