Get category by category title.

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

Syntax

C#
public virtual Guid GetCategoryId(
	string categoryTitleName
)
Visual Basic
Public Overridable Function GetCategoryId ( 
	categoryTitleName As String
) As Guid
Visual C++
public:
virtual Guid GetCategoryId(
	String^ categoryTitleName
)
F#
abstract GetCategoryId : 
        categoryTitleName : string -> Guid 
override GetCategoryId : 
        categoryTitleName : string -> Guid 

Parameters

categoryTitleName
Type: System..::..String
Category title or name

Return Value

Type: Guid
News category id if found, otherwise Guid.Empty

Implements

INewsRepository..::..GetCategoryId(String)

See Also