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

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

The ContainerCustomData type exposes the following members.

Constructors
  NameDescription
Public methodContainerCustomData
Constructor - creates empty ContainerCustomData object. Object created by this constructor works only as in-memory storage and does not reflects changes to DataClass and DB.
Public methodContainerCustomData(SerializationInfo, StreamingContext)
Constructor - Constructor for deserialization.
Public methodContainerCustomData(IDataContainer, String)
Constructor - creates empty ContainerCustomData object.
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.
(Overrides XmlDataItemString.)
Public propertyMacroTable
Macro table
(Inherited from XmlData.)
Public propertyValue Obsolete.
Value of the custom data, if set, overrides the data collection.
(Overrides XmlDataValue.)
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
Constructor for deserialization.
(Overrides XmlDataGetObjectData(SerializationInfo, StreamingContext).)
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.
(Overrides XmlDataLoadData(String).)
Public methodLoadFromXmlElement
Loads the data from the given XML element
(Inherited from XmlData.)
Public methodRemove
Removes element with specified key from collection
(Overrides XmlDataRemove(String).)
Public methodSetValue
Sets value of column.
(Overrides XmlDataSetValue(String, Object).)
Public methodToString
Returns xml as a string.
(Inherited from XmlData.)
Public methodTryGetValue
Returns value of column.
(Inherited from XmlData.)
Top
See Also