IBlogExtensibility.SetupBlogAccount 方法

定义

当从“博客宿主”下拉列表中选择提供商的名称时或当用户在“博客帐户”对话框中请求更改提供商帐户时,将从“选择帐户”对话框中调用此方法。

public:
 void SetupBlogAccount(System::String ^ Account, int ParentWindow, System::Object ^ Document, bool NewAccount, [Runtime::InteropServices::Out] bool % ShowPictureUI);
public void SetupBlogAccount(string Account, int ParentWindow, object Document, bool NewAccount, out bool ShowPictureUI);
abstract member SetupBlogAccount : string * int * obj * bool * bool -> unit
Public Sub SetupBlogAccount (Account As String, ParentWindow As Integer, Document As Object, NewAccount As Boolean, ByRef ShowPictureUI As Boolean)

参数

Account
String

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

ParentWindow
Int32

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

Document
Object

当前文档。

NewAccount
Boolean

指示是否为新帐户。

ShowPictureUI
Boolean

指示是否需要显示 Microsoft Office Word 的图片用户界面。

适用于