SocialPostCreationData 成员

Represents content and related information for a new microblog post.

SocialPostCreationData 类型公开以下成员。

构造函数

  名称 说明
公共方法 SocialPostCreationData

页首

属性

  名称 说明
公共属性 Attachment Gets or sets an image, video, or document attachment for the post.
公共属性 ContentItems Gets or sets the items to replace the positional tokens in the post's content text.
公共属性 ContentText Gets or sets the plain text of the post, which may include positional insertion tokens (for example, "Today is {0}'s birthday!").
公共属性 DefinitionData 此成员仅供内部使用,不能直接在您的代码中使用。
公共属性 SecurityUris Gets or sets URIs to SharePoint objects that define access permissions for the post.
公共属性 Source Gets or sets the source of the post.
公共属性 TypeId 此成员仅供内部使用,不能直接在您的代码中使用。 (覆盖 ClientValueObject.TypeId。)
公共属性 UpdateStatusText Gets or sets a value that controls whether the post's plain-text content should replace the user's status text.

页首

方法

  名称 说明
公共方法 CustomFromJson 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。)
公共方法 CustomWriteToXml 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。)
公共方法 FromJson 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。)
受保护的方法 InitOnePropertyFromJson 此成员仅供内部使用,不能直接在您的代码中使用。 (覆盖 ClientValueObject.InitOnePropertyFromJson(String, JsonReader)。)
公共方法 ToString (从 Object 继承。)
公共方法 WriteToXml 此成员仅供内部使用,不能直接在您的代码中使用。 (覆盖 ClientValueObject.WriteToXml(XmlWriter, SerializationContext)。)

页首

另请参阅

引用

SocialPostCreationData 类

Microsoft.SharePoint.Client.Social 命名空间