You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods > AddTopic Method > AddTopic
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion.AddTopic Method (long, string, string)

Method to add a topic based on a forum ID. Accepts title and topic starting message. Returns a numeric topic ID (Long). 

This method can be accessed through the ThreadedDiscussion.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/ThreadedDiscussion.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AddTopic", Description = "")]
public long AddTopic(long ForumID, string Title, string Message);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddTopic", Description = "")>
Public Function AddTopic(ForumID As long, Title As string, Message As string) As long
Parameters 
Description 
ForumID 
A numeric ID of the forum to add topic to. 
Title 
String value of the topic title. 
Message 
String value of the topic message. 

A 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!