Sitefinity CMS enables you to query for specific comments.
The following sample demonstrates how to query for a specific comment by its Key:
In the code above, you:
If the method does not find any comments matching the filter criteria, null will be returned.
The following sample demonstrates how to query all blog post comments by the Id of the live version of the blog post item:
You can also use CommentFilter to filter comments by different criteria, each one represented as a list:
In the following example, you filter by more than one criteria:
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.