SocialPostCreationData.ContentText 属性

Gets or sets the plain text of the post, which may include positional insertion tokens (for example, "Today is {0}'s birthday!").

命名空间:  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 Property ContentText As String
    Get
    Set
用法
Dim instance As SocialPostCreationData
Dim value As String

value = instance.ContentText

instance.ContentText = value
public string ContentText { get; set; }

属性值

类型:System.String

备注

Positional insertion tokens are replaced by the items in the ContentItems property. HTML tags are not accepted. The maximum length of a post is 512 characters.

See 如何:使用 SharePoint 2013 中的 .NET 客户端对象模型创建和删除帖子以及检索好友动态订阅源.

另请参阅

引用

SocialPostCreationData 类

SocialPostCreationData 成员

Microsoft.SharePoint.Client.Social 命名空间