Create new discussion board topic.

Namespace: MonoSoftware.MonoX.BusinessLayer
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual bool CreateTopic(
	Guid boardId,
	Guid topicId,
	Guid userId,
	string title,
	int maxTags,
	out SnDiscussionTopicEntity topicEntity
)
Visual Basic
Public Overridable Function CreateTopic ( 
	boardId As Guid,
	topicId As Guid,
	userId As Guid,
	title As String,
	maxTags As Integer,
	<OutAttribute> ByRef topicEntity As SnDiscussionTopicEntity
) As Boolean
Visual C++
public:
virtual bool CreateTopic(
	Guid boardId, 
	Guid topicId, 
	Guid userId, 
	String^ title, 
	int maxTags, 
	[OutAttribute] SnDiscussionTopicEntity^% topicEntity
)
F#
abstract CreateTopic : 
        boardId : Guid * 
        topicId : Guid * 
        userId : Guid * 
        title : string * 
        maxTags : int * 
        topicEntity : SnDiscussionTopicEntity byref -> bool 
override CreateTopic : 
        boardId : Guid * 
        topicId : Guid * 
        userId : Guid * 
        title : string * 
        maxTags : int * 
        topicEntity : SnDiscussionTopicEntity byref -> bool 

Parameters

boardId
Type: System..::..Guid
Discussion board id
topicId
Type: System..::..Guid
Topic Id
userId
Type: System..::..Guid
User id that created discussion board topic
title
Type: System..::..String
Title of the discussion board topic
maxTags
Type: System..::..Int32
Maximum number of tags
topicEntity
Type: SnDiscussionTopicEntity%
Topic entity

Return Value

Type: Boolean
True if discussion board topic is successfully created

Implements

IDiscussionBLL..::..CreateTopic(Guid, Guid, Guid, String, Int32, SnDiscussionTopicEntity%)

See Also