IBlogExtensibility.Open 方法

定义

打开博客 ID 指定的博客。 由“打开现有张贴内容”对话框基于用户选择的项调用。

public:
 void Open(System::String ^ Account, System::String ^ PostID, int ParentWindow, [Runtime::InteropServices::Out] System::String ^ % xHTML, [Runtime::InteropServices::Out] System::String ^ % Title, [Runtime::InteropServices::Out] System::String ^ % DatePosted, [Runtime::InteropServices::Out] Array ^ % Categories);
public void Open (string Account, string PostID, int ParentWindow, out string xHTML, out string Title, out string DatePosted, out Array Categories);
abstract member Open : string * string * int * string * string * string * Array -> unit
Public Sub Open (Account As String, PostID As String, ParentWindow As Integer, ByRef xHTML As String, ByRef Title As String, ByRef DatePosted As String, ByRef Categories As Array)

参数

Account
String

代表帐户注册表项的 GUID。 博客帐户设置存储在 \HKCU\Software\Microsoft\Office\Common\Blog\Account 的注册表中。

PostID
String

张贴内容的 ID。

ParentWindow
Int32

包含 Microsoft Office Word 从中调用的窗口的 HWND。

xHTML
String

代表当前文档的 xHTML。

Title
String

张贴内容的标题。

DatePosted
String

条目发布的日期。

Categories
Array

提供商支持的类别列表。

适用于