Documents.AddBlogDocument Method
Word Developer Reference |
Returns a Document object that represents a new blog document that Microsoft Office Word publishes to the account described by the first three parameters.
Syntax
expression.AddBlogDocument(ProviderID, PostURL, BlogName, PostID)
expression An expression that returns a Documents object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
ProviderID | Required | String | A GUID that is the unique value a provider uses when they register themselves with Word. |
PostURL | Required | String | The URL that is used to add posts to the blog. |
BlogName | Required | String | A display name for the blog that will be used in Word. |
PostID | Optional | String | The ID for an existing post with which to populate the document created by using the AddBlogDocument method. |
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.
See Also