Get category by category title.
Namespace: MonoSoftware.MonoX.RepositoriesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
Guid GetCategoryId( string categoryTitleName ) |
Visual Basic |
---|
Function GetCategoryId ( categoryTitleName As String ) As Guid |
Visual C++ |
---|
Guid GetCategoryId( String^ categoryTitleName ) |
F# |
---|
abstract GetCategoryId : categoryTitleName : string -> Guid |
Parameters
- categoryTitleName
- Type: System..::..String
Category title or name
Return Value
Type: GuidNews category id if found, otherwise Guid.Empty