Click or drag to resize
CategoryInfoProviderGetCategoryInfo Method (String, String)

Note: This API is now obsolete.

Returns category with specified name.

Namespace: CMS.Taxonomy
Assembly: CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ICategoryInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - CategoryInfo.Provider.")]
public static CategoryInfo GetCategoryInfo(
	string categoryName,
	string siteName
)

Parameters

categoryName
Type: SystemString
Category name.
siteName
Type: SystemString
Site name.

Return Value

Type: CategoryInfo
See Also