SocialAttachment 构造函数

Initializes a new instance of a SocialAttachment object.

命名空间:  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 Sub New
用法

Dim instance As New SocialAttachment()
public SocialAttachment()

备注

To create a video or document attachment for a microblog post, use the GetPreview method, which returns a provisioned attachment object. See 如何:在 SharePoint Server 2013 中的文章中嵌入图像、视频和文档.

另请参阅

引用

SocialAttachment 类

SocialAttachment 成员

Microsoft.SharePoint.Client.Social 命名空间