Return the comments on a document.

Namespace:  IpernityNET.IpernityObjects
Assembly:  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 Comment

Remarks

This method encapsulates doc.comments.getList "read" permission is necessary to access to private docs.

Exceptions

ExceptionCondition
IpernityNET..::.IpernityExceptionThrowed when Ipernity returned an error
IpernityNET.IpernityObjects..::.ObjectNotConfiguredExceptionThrowed when an Ipernity object has not been configured.

See Also