Documents.AddBlogDocument(String, String, String, String) 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.
Returns a object that represents a new blog document that Microsoft Office Word publishes to the account described by the first three parameters.
public Microsoft.Office.Interop.Word.Document AddBlogDocument (string ProviderID, string PostURL, string BlogName, string PostID = "");
abstract member AddBlogDocument : string * string * string * string -> Microsoft.Office.Interop.Word.Document
Public Function AddBlogDocument (ProviderID As String, PostURL As String, BlogName As String, Optional PostID As String = "") As Document
Parameters
- ProviderID
- String
A GUID that is the unique value a provider uses when they register themselves with Word.
- PostURL
- String
The URL that is used to add posts to the blog.
- BlogName
- String
A display name for the blog that will be used in Word.
- PostID
- String
The ID for an existing post with which to populate the document created by using the AddBlogDocument method.
Returns
Remarks
This method creates a new document, and it also registers the specified blog account with Word if it is not already registered. In addition, if the PostID
parameter is specified, the new document is populated with the contents of the post specified by the value of the PostID
parameter, from the provider's Web site.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應