Return the album latest visitors.
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public IEnumerable<Visitor> GetVisitors( int page, int perPage ) |
Visual Basic (Declaration) |
---|
Public Function GetVisitors ( _ page As Integer, _ perPage As Integer _ ) As IEnumerable(Of Visitor) |
Visual C++ |
---|
public: IEnumerable<Visitor^>^ GetVisitors( int page, int perPage ) |
Parameters
- page
- Type: System..::.Int32
The page of results to return.
- perPage
- Type: System..::.Int32
The number of records to return on each page. (Default is 10, maximum is 100)
Return Value
The list of VisitorRemarks
This method encapsulates album.getVisitors
"read" permission is necessary to access to private docs.
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. |