IBlogExtensibility.PublishPost Method (Office)
Hands off the current post so it can be published by the provider.
Syntax
expression .PublishPost(Account, ParentWindow, Document, userName, Password, xHTML, Title, DateTime, Categories(), Draft, PostID, PublishMessage)
expression An expression that returns a IBlogExtensibility object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Account |
Required |
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 |
Required |
Long |
Contains the HWND for the window Microsoft Word is calling from. |
Document |
Required |
Object |
The current document. |
userName |
Required |
String |
Represents the username stored in the registry account settings. |
Password |
Required |
String |
Represents user's password stored in the registry account settings. |
xHTML |
Required |
String |
Represents the xHTML of the current document. |
Title |
Required |
String |
The title of the post. |
DateTime |
Required |
String |
The date the entry was posted. |
Categories() |
Required |
String |
A list of categories supported by the provider. |
Draft |
Required |
Boolean |
Specifies whether this is a draft version of the post. |
PostID |
Required |
String |
The ID of the original post if this post has been republished. |
PublishMessage |
Required |
String |
Specifies what is displayed in the publish bar. |