XmlData MembersKentico 8.1 API Reference
The XmlData type exposes the following members.
Constructors

  NameDescription
Public methodXmlData 
Constructor - creates empty XmlData object.
Public methodXmlData(String)
Constructor with root element name specification.
Public methodXmlData(SerializationInfo, StreamingContext)
Constructor for deserialization.
Back to Top
Methods

  NameDescription
Public methodClear
Clears the custom data.
Public methodClone
Returns the cloned object.
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodConvertToHashtable
Converts XML data to Hashtable.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetData 
Returns the XML code of the data.
Public methodGetData(XmlDocument )
Returns the XML code of the data and constructed XML document.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetObjectData
Gets object data.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetValue
Returns value of column.
Public methodLoadData(String)
Loads the XML to the content table.
Public methodLoadData(String, XmlDocument )
Loads the XML to the content table.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodRemove
Removes element with specified key from collection
Public methodSetValue
Sets value of column.
Public methodToString
Returns xml as a string.
(Overrides OnlineObject ToString .)
Public methodTryGetValue
Returns value of column.
Back to 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 MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
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 MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
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 MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Back to Top
Fields

  NameDescription
Protected fieldmData
Collection of the data contents.
Protected fieldmValue
Custom data value.
Back to Top
Properties

  NameDescription
Public propertyAllowMacros
Indicates if macro values are allowed
Public propertyColumnNames
Column names.
Public propertyExcludedColumns
List of excluded columns (delimited by ';') which wont be loaded to collection. Test contains startwith.
Public propertyItem
Gets or sets the value of the column.
Public propertyMacroTable
Macro table
Public propertyValue
Value of the custom data, if set, overrides the data collection.
Public propertyXmlRootName
Gets name of xml root element.
Back to Top
See Also