IBlogExtensibility.PublishPost 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提交当前张贴内容以便由提供商将其发布。
public:
void PublishPost(System::String ^ Account, int ParentWindow, System::Object ^ Document, System::String ^ xHTML, System::String ^ Title, System::String ^ DateTime, Array ^ Categories, bool Draft, [Runtime::InteropServices::Out] System::String ^ % PostID, [Runtime::InteropServices::Out] System::String ^ % PublishMessage);
public void PublishPost (string Account, int ParentWindow, object Document, string xHTML, string Title, string DateTime, Array Categories, bool Draft, out string PostID, out string PublishMessage);
abstract member PublishPost : string * int * obj * string * string * string * Array * bool * string * string -> unit
Public Sub PublishPost (Account As String, ParentWindow As Integer, Document As Object, xHTML As String, Title As String, DateTime As String, Categories As Array, Draft As Boolean, ByRef PostID As String, ByRef PublishMessage As String)
参数
- Account
- String
代表帐户注册表项的 GUID。 博客帐户设置存储在 \HKCU\Software\Microsoft\Office\Common\Blog\Account 的注册表中。
- ParentWindow
- Int32
包含 Microsoft Office Word 从中调用的窗口的 HWND。
- Document
- Object
当前文档。
- xHTML
- String
代表当前文档的 xHTML。
- Title
- String
张贴内容的标题。
- DateTime
- String
条目发布的日期。
- Categories
- Array
提供商支持的类别列表。
- Draft
- Boolean
指定是否为张贴内容的草稿版本。
- PostID
- String
如果已重新发布此张贴内容,则为原始张贴内容的 ID。
- PublishMessage
- String
指定发布栏中显示的内容。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈