DataContainer Class

Contains data for a particular object, such as a contact, email message, calendar appointment, or task item. The DataContainer can be used to change items, add items, or fetch items on the client device or server.
Inheritance Hierarchy
SystemObject
  Aspose.Email.Clients.ActiveSync.TransportLayerDataContainer

Namespace:  Aspose.Email.Clients.ActiveSync.TransportLayer
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public class DataContainer : IEnumerable

The DataContainer type exposes the following members.

Constructors
  NameDescription
Public methodDataContainer(String, Namespace)
Initializes a new instance of the DataContainer class.
Public methodDataContainer(String, Namespace, DataContainer)
Initializes a new instance of the DataContainer class.
Public methodDataContainer(String, Namespace, DataContainer, String)
Initializes a new instance of the DataContainer class.
Public methodDataContainer(String, Namespace, DataContainer, String, Boolean)
Initializes a new instance of the DataContainer class.
Properties
  NameDescription
Public propertyBinaryData
Specifies if data is binary.
Public propertyElementName
Name of the element, whose data are contained in the data container.
Public propertyItemAirSync
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemAirSyncBase
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemCalendar
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemContacts
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemContacts2
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemDocumentLibrary
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemEmail
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemEmail2
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemGAL
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemItemOperations
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemNotes
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemRightsManagement
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemSearch
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemSettings
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Public propertyItemTasks
Gets DataContainer for selected element If quantity of DataContainers more then one, AsposeException rises.
Protected propertyItemType, Int32
Gets DataContainer for selected element
Public propertyNamespace
NameSpace of the element, whose data are contained in the data container.
Public propertyParent
Parent DataContainer
Public propertyPrefix
Prefix in xml node for the element
Public propertySubItems
Copies the sub-elements of the ApplicationData to a new List.
Public propertyValue
Value of the element
Methods
  NameDescription
Public methodAdd(String)
Adds data of element in xml format to the DataContainer.
Public methodAdd(XmlNode)
Adds data of element in xml format to the DataContainer.
Public methodAdd(Int32, Namespace)
Adds empty DataContainer for element.
Public methodAdd(Int32, String, Namespace)
Adds data of element to the DataContainer.
Public methodAdd(Int32, String, Boolean, Namespace)
Adds data of element to the DataContainer.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetApplicationDataList(AirSync)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(AirSyncBase)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Calendar)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Contacts)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Contacts2)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(DocumentLibrary)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Email)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Email2)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(GAL)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(ItemOperations)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Notes)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(RightsManagement)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Search)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Settings)
Gets list of DataContainers for selected element
Public methodGetApplicationDataList(Tasks)
Gets list of DataContainers for selected element
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
See Also