Create a new category instance

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
ICategory CreateCategory(
	string name,
	ICategory parentCategory
)
Visual Basic
Function CreateCategory ( _
	name As String, _
	parentCategory As ICategory _
) As ICategory
Visual C++
ICategory^ CreateCategory(
	String^ name, 
	ICategory^ parentCategory
)

Parameters

name
Type: System..::..String
Name and description of the category
parentCategory
Type: Cartella.Interfaces..::..ICategory
Parent category. If null, this category will be a root category

Field Value

ICategory

Return Value

Created Category

See Also