Click or drag to resize
MetaWeblogAPIUpdatePost Method
Updates information on specified blog post.

Namespace: CMS.MetaWeblogProvider
Assembly: CMS.MetaWeblogProvider (in CMS.MetaWeblogProvider.dll) Version: 8.2.23
Syntax
C#
public bool UpdatePost(
	string postid,
	string username,
	string password,
	MetaWeblogAPIObjectsPost post,
	bool publish
)

Parameters

postid
Type: SystemString
ID of the post to update
username
Type: SystemString
Name of the user performing action
password
Type: SystemString
Password to access user's account
post
Type: CMS.MetaWeblogProviderMetaWeblogAPIObjectsPost
Blog post info
publish
Type: SystemBoolean
Indicates whether the blog post should be published. If false it is a draft post

Return Value

Type: Boolean

Implements

IMetaWeblogAPIUpdatePost(String, String, String, MetaWeblogAPIObjectsPost, Boolean)
See Also