共用方式為


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
)

參數

  • description
    類型:System.String

    圖像的選擇性的描述。

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<SocialAttachment>
圖像附件。

請參閱

參照

SocialFeedManager 類別

SocialFeedManager 成員

Microsoft.SharePoint.Client.Social 命名空間