Create a new comment
Namespace: Cartella.InterfacesAssembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
IComment CreateComment( IEntity entity, IComment parent, string name, string email, bool approved, string comment ) |
Visual Basic |
---|
Function CreateComment ( _ entity As IEntity, _ parent As IComment, _ name As String, _ email As String, _ approved As Boolean, _ comment As String _ ) As IComment |
Visual C++ |
---|
IComment^ CreateComment( IEntity^ entity, IComment^ parent, String^ name, String^ email, bool approved, String^ comment ) |
Parameters
- entity
- Type: Cartella.Interfaces..::..IEntity
Entity that the comment belong to
- parent
- Type: Cartella.Interfaces..::..IComment
Parent comment to hook this one under, can be null
- name
- Type: System..::..String
Name of comment
- Type: System..::..String
Email address of person posted the comment
- approved
- Type: System..::..Boolean
Comment approved or not
- comment
- Type: System..::..String
Comment Copy