You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods > AddTopic Method > AddTopic
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion.AddTopic Method (Long, String, String, Integer)

Overloaded method to add a topic based on a forum ID and language. Accepts title and topic starting message. Returns Topic ID as Long.

C#
public Long AddTopic(Long ForumID, String Title, String Message, int LanguageId);
Visual Basic
Public Function AddTopic(ByVal ForumID As Long, ByVal Title As String, ByVal Message As String, ByVal LanguageId As Integer) As Long
Parameters 
Description 
ForumID 
Numeric ID of forum to which the topic is added. 
Title 
String value of the topic title. 
Message 
String value of the topic message. 
LanguageId 
Numeric ID of the Language. 

Numeric value for the topic ID. (Long)

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!