Forum.GetForumTopicIDFromPost Method

Given a post id, work out the topic id
Public Shared Function GetForumTopicIDFromPost( _ 
ByVal post_id As EntityID, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID GetForumTopicIDFromPost( 
EntityID post_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ GetForumTopicIDFromPost( 
EntityID^ post_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetForumTopicIDFromPost( 
post_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

post_id
EntityID

the post id

db
IDatabase

the database connection to use

Return Value

EntityID

the forum topic id, if it exists

.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