XmlData Class |
Namespace: CMS.Helpers
[SerializableAttribute] public class XmlData : ISerializable, IDataContainer, ISimpleDataContainer
The XmlData type exposes the following members.
Name | Description | |
---|---|---|
XmlData |
Constructor - creates empty XmlData object.
| |
XmlData(String) |
Constructor with root element name specification.
| |
XmlData(SerializationInfo, StreamingContext) |
Constructor for deserialization.
|
Name | Description | |
---|---|---|
AllowMacros |
Indicates if macro values are allowed
| |
ColumnNames |
Column names.
| |
ExcludedColumns |
List of excluded column name prefixes (delimited by ';'). Columns starting with these won't be loaded to collection.
| |
Item |
Gets or sets the value of the column.
| |
MacroTable |
Macro table
| |
Value | Obsolete.
Single value of the custom data. If set, overrides the data collection.
| |
XmlRootName |
Gets name of xml root element.
|
Name | Description | |
---|---|---|
Clear |
Clears the custom data.
| |
Clone |
Returns the cloned object.
| |
ContainsColumn |
Returns true if the object contains specified column.
| |
ConvertToHashtable |
Converts XML data to Hashtable.
| |
GetData |
Returns the XML code of the data.
| |
GetObjectData |
Gets object data.
| |
GetValue |
Returns value of column.
| |
GetXmlElement |
Gets the XML element for the data
| |
LoadData |
Loads the XML to the content table.
| |
LoadFromXmlElement |
Loads the data from the given XML element
| |
Remove |
Removes element with specified key from collection
| |
SetValue |
Sets value of column.
| |
ToString |
Returns xml as a string.
(Overrides ObjectToString.) | |
TryGetValue |
Returns value of column.
|
Name | Description | |
---|---|---|
CopyTo |
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.) | |
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML |
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) |