XmlData Class |
Namespace: CMS.Base
[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 | |
---|---|---|
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.
| |
GetData(XmlDocument) |
Returns the XML code of the data and constructed XML document.
| |
GetObjectData |
Gets object data.
| |
GetValue |
Returns value of column.
| |
LoadData(String) |
Loads the XML to the content table.
| |
LoadData(String, XmlDocument) |
Loads the XML to the content table.
| |
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 | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CopyTo |
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToXML |
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) |
Name | Description | |
---|---|---|
AllowMacros |
Indicates if macro values are allowed
| |
ColumnNames |
Column names.
| |
ExcludedColumns |
List of excluded columns (delimited by ';') which wont be loaded to collection. Test contains startwith.
| |
Item |
Gets or sets the value of the column.
| |
MacroTable |
Macro table
| |
Value |
Value of the custom data, if set, overrides the data collection.
| |
XmlRootName |
Gets name of xml root element.
|