Return the comments on a document.
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public IEnumerable<Comment> CommentsGetList( int page, int perPage ) |
Visual Basic (Declaration) |
---|
Public Function CommentsGetList ( _ page As Integer, _ perPage As Integer _ ) As IEnumerable(Of Comment) |
Visual C++ |
---|
public: IEnumerable<Comment^>^ CommentsGetList( 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 100, maximum is 100)
Return Value
A list of CommentRemarks
This method encapsulates doc.comments.getList
"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. |