IBlogExtensibility.PublishPost Method
Hands off the current post so it can be published by the provider.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
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, _
<OutAttribute> ByRef PostID As String, _
<OutAttribute> ByRef PublishMessage As String _
)
'Usage
Dim instance As IBlogExtensibility
Dim Account As String
Dim ParentWindow As Integer
Dim Document As Object
Dim xHTML As String
Dim Title As String
Dim DateTime As String
Dim Categories As Array
Dim Draft As Boolean
Dim PostID As String
Dim PublishMessage As String
instance.PublishPost(Account, ParentWindow, _
Document, xHTML, Title, DateTime, _
Categories, Draft, PostID, PublishMessage)
void PublishPost(
string Account,
int ParentWindow,
Object Document,
string xHTML,
string Title,
string DateTime,
Array Categories,
bool Draft,
out string PostID,
out string PublishMessage
)
Parameters
Account
Type: System.StringRepresents the GUID of the account registry key. Blog account settings are stored in the registry at \\HKCU\Software\Microsoft\Office\Common\Blog\Account.
ParentWindow
Type: System.Int32Contains the HWND for the window Microsoft Office Word is calling from.
Document
Type: System.ObjectThe current document.
xHTML
Type: System.StringRepresents the xHTML of the current document.
Title
Type: System.StringThe title of the post.
DateTime
Type: System.StringThe date the entry was posted.
Categories
Type: System.ArrayA list of categories supported by the provider.
Draft
Type: System.BooleanSpecifies whether this is a draft version of the post.
PostID
Type: System.StringThe ID of the original post if this post has been republished.
PublishMessage
Type: System.StringSpecifies what is displayed in the publish bar.