Create an new album
Namespace:
IpernityNET.IpernityObjectsAssembly: 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 AlbumRemarks
This method encapsulates album.create
This method requires "write" permission on docs.
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. Use the method ConfigureIpernityObject(IpernityObject) to configure the object and allow it to interact with Ipernity |