ActivityTitleBuilderCreateTitle Method |
Creates title from title data and activityType. Title is read from resources.
Namespace: CMS.ActivitiesAssembly: CMS.Activities (in CMS.Activities.dll) Version: 13.0.131
Syntax public string CreateTitle(
string activityType,
string titleData = null
)
Parameters
- activityType
- Type: SystemString
Activity type - titleData (Optional)
- Type: SystemString
Data that should be displayed in title; if null default resource string is used
Return Value
Type:
StringReturns activity title.
Exceptions Exception | Condition |
---|
ArgumentNullException | Is thrown if activityType is null or empty |
See Also