IBlogExtensibility.PublishPost Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기