Forum.GetTopics Method

Get all topics in a category
Public Shared Function GetTopics( _ 
ByVal category_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal page As Integer, _ 
ByVal max_per_page As Integer, _ 
ByVal db As IDatabase
) As List(Of ForumTopic)
This language is not supported or no code example is available.
public static List<ForumTopic> GetTopics( 
EntityID category_id
EntityID user_id
int page
int max_per_page
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static List<ForumTopic^>^ GetTopics( 
EntityID^ category_id
EntityID^ user_id
int page
int max_per_page
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

category_id
EntityID

the id of the category

user_id
EntityID

the user making the request

page
int

the page number we want

max_per_page
int

the maximum number of items per page

db
IDatabase

the db connection to use

Return Value

List<ForumTopic>

the list of forum topics

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition