Launch Windows Live Writer with a new Blog This post for the specified snippet. URLs passed to this method should be fully qualified (including the protocol).
HRESULT BlogThisSnippet([in] BSTR title, [in] BSTR url, [in] BSTR comment, [in] BSTR snippetContents, [in] VARIANT_BOOL preserveImages );
|
Parameter
|
Description
|
| title | Post title. |
| url | Link to source URL for the snippet (optional). |
| comment | Comment about the snippet (optional) |
| snippetContents | HTML snippet to blog about. |
| preserveImages | If true, preserves images within the snippet. Otherwise images are stripped from the snippet. |
S_OK on success, otherwise an error HRESULT.
Reference
WindowsLiveWriterApplication COM Class