EnumDataContainer Class |
Namespace: CMS.Base
public class EnumDataContainer : IDataContainer, ISimpleDataContainer
The EnumDataContainer type exposes the following members.
Name | Description | |
---|---|---|
EnumDataContainer |
Creates new instance of enum container.
|
Name | Description | |
---|---|---|
mColumnNames |
Column names (enum items).
| |
mEnumType |
Type of the enum.
|
Name | Description | |
---|---|---|
ColumnNames |
Returns list of enumeration items.
| |
EnumType |
Element type.
| |
Item |
Returns the value of given enumeration item.
|
Name | Description | |
---|---|---|
ContainsColumn |
Returns true if given name is within the enumeration items.
| |
GetValue |
Returns the value of given enumeration item.
| |
SetValue |
Not implemented, throws an exception.
| |
TryGetValue |
Returns the value of given enumeration item.
|
Name | Description | |
---|---|---|
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(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) | |
ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |