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: 8.2.23
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
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 methodGetData(XmlDocument)
Returns the XML code of the data and constructed XML document.
(Inherited from XmlData.)
Public methodGetObjectData
Constructor for deserialization.
(Overrides XmlDataGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetValue
Returns value of column.
(Inherited from XmlData.)
Public methodLoadData(String)
Loads the XML to the content table.
(Overrides XmlDataLoadData(String).)
Public methodLoadData(String, XmlDocument)
Loads the XML to the content table.
(Overrides XmlDataLoadData(String, XmlDocument).)
Public methodRemove
Removes element with specified key from collection
(Inherited from XmlData.)
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldmData
Collection of the data contents.
(Inherited from XmlData.)
Protected fieldmValue
Custom data value.
(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 columns (delimited by ';') which wont be loaded to collection. Test contains startwith.
(Inherited from XmlData.)
Public propertyItem
Gets or sets the value of the column.
(Overrides XmlDataItemString.)
Public propertyMacroTable
Macro table
(Inherited from XmlData.)
Public propertyValue
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
See Also