Category.GetParentCategoryID Method

Get the parent category id
Public Shared Function GetParentCategoryID( _ 
ByVal category_id As EntityID, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID GetParentCategoryID( 
EntityID category_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ GetParentCategoryID( 
EntityID^ category_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetParentCategoryID( 
category_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

category_id
EntityID

the category id

db
IDatabase

the db connection

Return Value

EntityID

the parent id, or null if not set

.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