Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.Taxonomy
CategoryInfoProvider Class
CategoryInfoProvider Methods
Get Method
Get Method (String, Int32)
CategoryInfoProvider
Get Method (String, Int32)
Gets an instance of info object based on its code name and site ID.
Namespace:
CMS.Taxonomy
Assembly:
CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 13.0.131
Syntax
C#
Copy
public
override
CategoryInfo
Get
(
string
name
,
int
siteId
)
Parameters
name
Type:
System
String
Code name of the info object to look for.
siteId
Type:
System
Int32
ID of the site to which to constrain the lookup.
Return Value
Type:
CategoryInfo
Returns an instance of
CategoryInfo
corresponding to
name
and
siteId
or null.
Implements
IInfoBySiteAndNameProvider
TInfo
Get(String, Int32)
IInfoBySiteAndNameProvider
TInfo
Get(String, Int32)
Exceptions
Exception
Condition
NotSupportedException
Thrown when
CategoryInfo
does not have the code name column.
See Also
Reference
CategoryInfoProvider Class
Get Overload
CMS.Taxonomy Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com