Dynamicweb 8 Documentation
GetCommentsByTypeLanguageAndId(String,String,String,Boolean) Method

Type of the item, i.e "ecomProduct".
The item ID, i.e. "PROD1".
The langugage ID, i.e. "LANG1".
If set to true, only return comments marked as active (approved)
Gets the comments by type, language and id.
Syntax
'Declaration
 
Public Overloads Shared Function GetCommentsByTypeLanguageAndId( _ 
   ByVal ItemType As String, _ 
   ByVal ItemID As String, _ 
   ByVal LangugageID As String, _ 
   ByVal onlyActive As Boolean _ 
) As CommentCollection
public static CommentCollection GetCommentsByTypeLanguageAndId( 
   string ItemType,
   string ItemID,
   string LangugageID,
   bool onlyActive 
)

Parameters

ItemType
Type of the item, i.e "ecomProduct".
ItemID
The item ID, i.e. "PROD1".
LangugageID
The langugage ID, i.e. "LANG1".
onlyActive
If set to true, only return comments marked as active (approved)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Comment Class
Comment Members
Overload List

Send Feedback