Select categories.

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

Syntax

C#
ICategory[] SelectCategories(
	bool recursive,
	string categoryParentId,
	bool showDeleted
)
Visual Basic
Function SelectCategories ( _
	recursive As Boolean, _
	categoryParentId As String, _
	showDeleted As Boolean _
) As ICategory()
Visual C++
array<ICategory^>^ SelectCategories(
	bool recursive, 
	String^ categoryParentId, 
	bool showDeleted
)

Parameters

recursive
Type: System..::..Boolean
Indicates whether to return all children of selected categories.
categoryParentId
Type: System..::..String
Parent ID of categories to select from. Null will return global categories.
showDeleted
Type: System..::..Boolean
Optionally show deleted categories (children included if recursive).

Remarks

For selecting categories applied to an entity use GetAppliedCategories

See Also