IBlogExtensibility.SetupBlogAccount Method
Called from the Choose Account dialog when the provider’s name is chosen in the Blog Host dropdown or when the user requests to change a provider’s account in the Blog Accounts dialog box.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Sub SetupBlogAccount ( _
Account As String, _
ParentWindow As Integer, _
Document As Object, _
NewAccount As Boolean, _
<OutAttribute> ByRef ShowPictureUI As Boolean _
)
'Usage
Dim instance As IBlogExtensibility
Dim Account As String
Dim ParentWindow As Integer
Dim Document As Object
Dim NewAccount As Boolean
Dim ShowPictureUI As Boolean
instance.SetupBlogAccount(Account, ParentWindow, _
Document, NewAccount, ShowPictureUI)
void SetupBlogAccount(
string Account,
int ParentWindow,
Object Document,
bool NewAccount,
out bool ShowPictureUI
)
Parameters
Account
Type: System.StringRepresents the GUID of the account registry key. Blog account settings are stored in the registry at \\HKCU\Software\Microsoft\Office\Common\Blog\Account.
ParentWindow
Type: System.Int32Contains the HWND for the window Microsoft Word is calling from.
Document
Type: System.ObjectThe current document.
NewAccount
Type: System.BooleanIndicates whether this is a new account.
ShowPictureUI
Type: System.BooleanIndicates whether Microsoft Office Word’s picture user interface needs to be displayed.