Documentation > CMS Template API Library > XmlAttributes

CrownPeak.CMSAPI.XmlAttributes

Represents a set of xml attributes. The key is the attribute name and the value is the attribute value. Attempting to access an attribute that is not present will return an empty string.

NameDescriptionType
Count

Returns the numer of attributes.

Property
Item[String]

Gets the value of the requested key. Will return empty string if the key is not defined.

Property

Connect with Crownpeak