com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class MapiPropertyCollection

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>, com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>, Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>


    public class MapiPropertyCollection
    extends Object
    implements com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>

    Represents the collection of MapiProperty items.

    • Constructor Summary

      Constructors 
      Constructor and Description
      MapiPropertyCollection()
      Creates a new instance of class MapiProperty.
    • Constructor Detail

      • MapiPropertyCollection

        public MapiPropertyCollection()

        Creates a new instance of class MapiProperty.

    • Method Detail

      • getKeys

        public com.aspose.ms.System.Collections.Generic.IGenericCollection getKeys()

        Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.

        Specified by:
        getKeys in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
      • getValues

        public com.aspose.ms.System.Collections.Generic.IGenericCollection getValues()

        Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.

        Specified by:
        getValues in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
      • get_Keys

        public com.aspose.ms.System.Collections.Generic.IGenericCollection<Long> get_Keys()

        Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.

      • get_Values

        public com.aspose.ms.System.Collections.Generic.IGenericCollection<MapiProperty> get_Values()

        Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.

      • size

        public int size()

        Gets the number of elements contained in the collection.

        Specified by:
        size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
      • isReadOnly

        public boolean isReadOnly()

        Gets a value indicating whether the collection is read only.

        Specified by:
        isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
      • get_Item

        public MapiProperty get_Item(long tag)

        Gets or sets the value associated with the specified key.

        Parameters:
        tag - The tag key whose value to get or set.
        Returns:
        The value associated with the specified key.
      • set_Item

        public void set_Item(long tag,
                    MapiProperty value)

        Gets or sets the value associated with the specified key.

        Parameters:
        tag - The tag key whose value to get or set.
      • add

        public void add(long tag,
               MapiProperty value)

        Adds a MapiProperty item with specified tag.

        Parameters:
        tag - The property tag.
        value - The property value.
      • containsKey

        public boolean containsKey(long tag)

        Determines whether the collection contains a property with the specified tag.

        Parameters:
        tag - The property tag.
        Returns:
        true if the collection contains a property with the tag; otherwise, false
      • remove

        public boolean remove(long tag)

        Removes the property with the specified tag from the collection.

        Parameters:
        tag - The tag of the property to remove.
        Returns:
        true if the property is successfully removed; otherwise, false.
      • tryGetValue

        public boolean tryGetValue(long tag,
                          MapiProperty[] value)

        Gets the property associated with the specified tag.

        Parameters:
        tag - The property tag.
        value -
        Returns:
      • add

        public void add(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item)
      • clear

        public void clear()

        Removes all of the elements from the collection.

        Specified by:
        clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
      • contains

        public boolean contains(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item)
      • copyTo

        public void copyTo(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>[] array,
                  int arrayIndex)
      • remove

        public boolean remove(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item)
      • iterator

        public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>> iterator()
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
        Specified by:
        iterator in interface Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
      • addItem

        public void addItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0)
        Specified by:
        addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
      • containsItem

        public boolean containsItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0)
        Specified by:
        containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
      • copyToTArray

        public void copyToTArray(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>[] arg0,
                        int arg1)
        Specified by:
        copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
      • removeItem

        public boolean removeItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0)
        Specified by:
        removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
      • addItem

        public void addItem(Long arg0,
                   MapiProperty arg1)
        Specified by:
        addItem in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
      • containsKey

        public boolean containsKey(Long arg0)
        Specified by:
        containsKey in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
      • get_Item

        public MapiProperty get_Item(Long arg0)
        Specified by:
        get_Item in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
      • removeItemByKey

        public boolean removeItemByKey(Long arg0)
        Specified by:
        removeItemByKey in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
      • set_Item

        public void set_Item(Long arg0,
                    MapiProperty arg1)
        Specified by:
        set_Item in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
      • tryGetValue

        public boolean tryGetValue(Long arg0,
                          Object[] arg1)
        Specified by:
        tryGetValue in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>