Create an new album

Namespace:  IpernityNET.IpernityObjects
Assembly:  IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)

Syntax

C#
public Album AlbumCreate(
	string title,
	string description,
	int coverId,
	PermissionPeople permissionComment
)
Visual Basic (Declaration)
Public Function AlbumCreate ( _
	title As String, _
	description As String, _
	coverId As Integer, _
	permissionComment As PermissionPeople _
) As Album
Visual C++
public:
Album^ AlbumCreate(
	String^ title, 
	String^ description, 
	int coverId, 
	PermissionPeople permissionComment
)

Parameters

title
Type: System..::.String
A title for this album
description
Type: System..::.String
A description for this album. (Some HTML tags are accepted)
coverId
Type: System..::.Int32
The document Id to be used as the cover. (Must belong to the calling user)
permissionComment
Type: IpernityNET..::.PermissionPeople
Who can add comments to this album.

Return Value

The created Album

Remarks

This method encapsulates album.create This method requires "write" permission on docs.

Exceptions

ExceptionCondition
IpernityNET..::.IpernityExceptionThrowed when Ipernity returned an error
IpernityNET.IpernityObjects..::.ObjectNotConfiguredExceptionThrowed when an Ipernity object has not been configured. Use the method ConfigureIpernityObject(IpernityObject) to configure the object and allow it to interact with Ipernity

See Also