Get a category by its id

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetCategory( _ 
ByVal cat_id As EntityID, _ 
ByVal db As IDatabase
) As ForumCategory
This language is not supported or no code example is available.
public static ForumCategory GetCategory( 
EntityID cat_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static ForumCategory^ GetCategory( 
EntityID^ cat_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetCategory( 
cat_id : EntityID
db : IDatabase 
) : ForumCategory;
This language is not supported or no code example is available.

Parameters

cat_id
Type: EntityID

the category id

db
Type: IDatabase

the database

Return Value

Type: ForumCategory

the forum category, null if not found

.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