Documents.AddBlogDocument(String, String, String, String) Documents.AddBlogDocument(String, String, String, String) Method


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 = "");
Public Function AddBlogDocument (ProviderID As String, PostURL As String, BlogName As String, Optional PostID As String = "") As Document
String String

A GUID that is the unique value a provider uses when they register themselves with Word.

String String

The URL that is used to add posts to the blog.

String String

A display name for the blog that will be used in Word.

String String

The ID for an existing post with which to populate the document created by using the AddBlogDocument method.



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