public class MapiPropertyCollection extends Object implements com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
Represents the collection of MapiProperty items.
Constructor and Description |
---|
MapiPropertyCollection()
Creates a new instance of class MapiProperty.
|
Modifier and Type | Method and Description |
---|---|
void |
add(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item) |
void |
add(long key,
MapiProperty value)
Adds a MapiProperty item with specified tag.
|
void |
addItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0) |
void |
addItem(Long arg0,
MapiProperty arg1) |
void |
clear()
Removes all of the elements from the collection.
|
boolean |
contains(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item) |
boolean |
containsItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0) |
boolean |
containsKey(long key)
Determines whether the collection contains a property with the specified tag.
|
boolean |
containsKey(Long arg0) |
void |
copyTo(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>[] array,
int arrayIndex) |
void |
copyToTArray(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>[] arg0,
int arg1) |
MapiProperty |
get_Item(long tag)
Gets or sets the value associated with the specified key.
|
MapiProperty |
get_Item(Long arg0) |
MapiProperty |
get_Item(PropertyDescriptor pd)
Gets or sets the value associated with the specified key.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection<Long> |
get_Keys()
Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection<? extends MapiProperty> |
get_Values()
Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection |
getKeys()
Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection |
getValues()
Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.
|
boolean |
isReadOnly()
Gets a value indicating whether the collection is read only.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>> |
iterator() |
boolean |
remove(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item) |
boolean |
remove(long key)
Removes the property with the specified tag from the collection.
|
boolean |
removeItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0) |
boolean |
removeItemByKey(Long arg0) |
void |
set_Item(long tag,
MapiProperty value)
Gets or sets the value associated with the specified key.
|
void |
set_Item(Long arg0,
MapiProperty arg1) |
void |
set_Item(PropertyDescriptor pd,
MapiProperty value)
Gets or sets the value associated with the specified key.
|
int |
size()
Gets the number of elements contained in the collection.
|
boolean |
tryGetValue(long key,
MapiProperty[] value)
Gets the property associated with the specified tag.
|
boolean |
tryGetValue(Long arg0,
Object[] arg1) |
public MapiPropertyCollection()
Creates a new instance of class MapiProperty.
public com.aspose.ms.System.Collections.Generic.IGenericCollection getKeys()
Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.
getKeys
in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
public com.aspose.ms.System.Collections.Generic.IGenericCollection getValues()
Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.
getValues
in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
public com.aspose.ms.System.Collections.Generic.IGenericCollection<Long> get_Keys()
Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.
public com.aspose.ms.System.Collections.Generic.IGenericCollection<? extends MapiProperty> get_Values()
Gets an System.Collections.Generic.ICollection<MapiProperty> containing the values in the collection.
public int size()
Gets the number of elements contained in the collection.
size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
public boolean isReadOnly()
Gets a value indicating whether the collection is read only.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
public MapiProperty get_Item(long tag)
Gets or sets the value associated with the specified key.
tag
- The tag key whose value to get or set.public void set_Item(long tag, MapiProperty value)
Gets or sets the value associated with the specified key.
tag
- The tag key whose value to get or set.public MapiProperty get_Item(PropertyDescriptor pd)
Gets or sets the value associated with the specified key.
pd
- The PropertyDescriptor
key whose value to get or set.public void set_Item(PropertyDescriptor pd, MapiProperty value)
Gets or sets the value associated with the specified key.
pd
- The PropertyDescriptor
key whose value to get or set.public void add(long key, MapiProperty value)
Adds a MapiProperty item with specified tag.
key
- The property tag.value
- The property value.public boolean containsKey(long key)
Determines whether the collection contains a property with the specified tag.
key
- The property tag.public boolean remove(long key)
Removes the property with the specified tag from the collection.
key
- The tag of the property to remove.public boolean tryGetValue(long key, MapiProperty[] value)
Gets the property associated with the specified tag.
key
- The property tag.value
- public void add(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item)
public void clear()
Removes all of the elements from the collection.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
public boolean contains(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item)
public void copyTo(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>[] array, int arrayIndex)
public boolean remove(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> item)
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>> iterator()
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
iterator
in interface Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
public void addItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0)
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
public boolean containsItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0)
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
public void copyToTArray(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>[] arg0, int arg1)
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
public boolean removeItem(com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty> arg0)
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<Long,MapiProperty>>
public void addItem(Long arg0, MapiProperty arg1)
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
public boolean containsKey(Long arg0)
containsKey
in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
public MapiProperty get_Item(Long arg0)
get_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
public boolean removeItemByKey(Long arg0)
removeItemByKey
in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
public void set_Item(Long arg0, MapiProperty arg1)
set_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
public boolean tryGetValue(Long arg0, Object[] arg1)
tryGetValue
in interface com.aspose.ms.System.Collections.Generic.IGenericDictionary<Long,MapiProperty>
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.