Forum.SearchForums Method

Search the forums
Public Shared Function SearchForums( _ 
ByVal query As String, _ 
ByVal user_id As EntityID, _ 
ByVal limit_id As EntityID, _ 
ByVal limit As ForumSearchLimit, _ 
ByVal db As IDatabase
) As List(Of ForumTopic)
This language is not supported or no code example is available.
public static List<ForumTopic> SearchForums( 
string query
EntityID user_id
EntityID limit_id
ForumSearchLimit limit
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static List<ForumTopic^>^ SearchForums( 
String^ query
EntityID^ user_id
EntityID^ limit_id
ForumSearchLimit limit
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

query
string

the query text to use

user_id
EntityID

the id of the user doing the search, for permission purposes

limit_id
EntityID

an id, if we're limiting to a forum or category

limit
ForumSearchLimit

the limit type

db
IDatabase

the db 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