Click or drag to resize
CustomData Class
Custom data container.
Inheritance Hierarchy

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
[SerializableAttribute]
public class CustomData : XmlData

The CustomData type exposes the following members.

Constructors
  NameDescription
Public methodCustomData
Constructor - creates empty CustomData object.
Public methodCustomData(SerializationInfo, StreamingContext)
Constructor for deserialization.
Top
Fields
  NameDescription
Protected fieldmData
Collection of the data contents.
(Inherited from XmlData.)
Top
Properties
  NameDescription
Public propertyAllowMacros
Indicates if macro values are allowed
(Inherited from XmlData.)
Public propertyColumnNames
Column names.
(Inherited from XmlData.)
Public propertyExcludedColumns
List of excluded column name prefixes (delimited by ';'). Columns starting with these won't be loaded to collection.
(Inherited from XmlData.)
Public propertyItem
Gets or sets the value of the column.
(Inherited from XmlData.)
Public propertyMacroTable
Macro table
(Inherited from XmlData.)
Public propertyValue Obsolete.
Single value of the custom data. If set, overrides the data collection.
(Inherited from XmlData.)
Public propertyXmlRootName
Gets name of xml root element.
(Inherited from XmlData.)
Top
Methods
  NameDescription
Public methodClear
Clears the custom data.
(Inherited from XmlData.)
Public methodClone
Returns the cloned object.
(Inherited from XmlData.)
Public methodContainsColumn
Returns true if the object contains specified column.
(Inherited from XmlData.)
Public methodConvertToHashtable
Converts XML data to Hashtable.
(Inherited from XmlData.)
Public methodGetData
Returns the XML code of the data.
(Inherited from XmlData.)
Public methodGetObjectData
Gets object data.
(Inherited from XmlData.)
Public methodGetValue
Returns value of column.
(Inherited from XmlData.)
Public methodGetXmlElement
Gets the XML element for the data
(Inherited from XmlData.)
Public methodLoadData
Loads the XML to the content table.
(Inherited from XmlData.)
Public methodLoadFromXmlElement
Loads the data from the given XML element
(Inherited from XmlData.)
Public methodRemove
Removes element with specified key from collection
(Inherited from XmlData.)
Public methodSetValue
Sets value of column.
(Inherited from XmlData.)
Public methodToString
Returns xml as a string.
(Inherited from XmlData.)
Public methodTryGetValue
Returns value of column.
(Inherited from XmlData.)
Top
See Also