Click or drag to resize
MetaWeblogAPINewMediaObject Method
Creates a new media object on the server side for later use in the blog.

Namespace: CMS.MetaWeblogProvider
Assembly: CMS.MetaWeblogProvider (in CMS.MetaWeblogProvider.dll) Version: 8.2.23
Syntax
C#
public MetaWeblogAPIObjectsMediaObjectInfo NewMediaObject(
	string blogid,
	string username,
	string password,
	MetaWeblogAPIObjectsMediaObject mediaObject
)

Parameters

blogid
Type: SystemString
ID of the blog
username
Type: SystemString
Name of the user performing action
password
Type: SystemString
Password to access user's account
mediaObject
Type: CMS.MetaWeblogProviderMetaWeblogAPIObjectsMediaObject
Media object info

Return Value

Type: MetaWeblogAPIObjectsMediaObjectInfo

Implements

IMetaWeblogAPINewMediaObject(String, String, String, MetaWeblogAPIObjectsMediaObject)
See Also