IBlogExtensibility.PublishPost 方法

定义

提交当前张贴内容以便由提供商将其发布。

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

指定发布栏中显示的内容。

适用于