IBlogExtensibility.PublishPost Method

Definition

Hands off the current post so it can be published by the provider.

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)

Parameters

Account
String

Represents the GUID of the account registry key. Blog account settings are stored in the registry at \HKCU\Software\Microsoft\Office\Common\Blog\Account.

ParentWindow
Int32

Contains the HWND for the window Microsoft Office Word is calling from.

Document
Object

The current document.

xHTML
String

Represents the xHTML of the current document.

Title
String

The title of the post.

DateTime
String

The date the entry was posted.

Categories
Array

A list of categories supported by the provider.

Draft
Boolean

Specifies whether this is a draft version of the post.

PostID
String

The ID of the original post if this post has been republished.

PublishMessage
String

Specifies what is displayed in the publish bar.

Applies to