Ensures that a group category exists.

Namespace: MonoSoftware.MonoX.BusinessLayer
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
SnGroupCategoryEntity EnsureCategoryExists(
	Guid categoryId,
	string name
)
Visual Basic
Function EnsureCategoryExists ( 
	categoryId As Guid,
	name As String
) As SnGroupCategoryEntity
Visual C++
SnGroupCategoryEntity^ EnsureCategoryExists(
	Guid categoryId, 
	String^ name
)
F#
abstract EnsureCategoryExists : 
        categoryId : Guid * 
        name : string -> SnGroupCategoryEntity 

Parameters

categoryId
Type: System..::..Guid
Category Id
name
Type: System..::..String
Category name

Return Value

Type: SnGroupCategoryEntity
Group category retrieved by its primary id.

See Also