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,
	int coverId
)
Visual Basic (Declaration)
Public Function AlbumCreate ( _
	title As String, _
	coverId As Integer _
) As Album
Visual C++
public:
Album^ AlbumCreate(
	String^ title, 
	int coverId
)

Parameters

title
Type: System..::.String
A title for this album
coverId
Type: System..::.Int32
The document Id to be used as the cover. (Must belong to the calling user)

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