Documentation > CMS Template API Library > UserVariables

CrownPeak.CMSAPI.UserVariables

A place to store data as key value pairs to retrieve later. Can be shared when calling other templates with Asset.Show, Asset.GetLink, and by a Wrapper as long as all templates involved are C#.

NameDescriptionType
HasKey(String)

Returns true if one of the user variable names matches the parameter.

Method
Count

The number of user variables

Property
Item(String)

Get the value of an argument with the given name.

Property

Connect with CrownPeak