public final class ImapMessageInfoCollection extends com.aspose.ms.System.Collections.ObjectModel.Collection<ImapMessageInfo>
Provides a container for a collection of ImapMessageInfo objects
Constructor and Description |
---|
ImapMessageInfoCollection()
Initializes a new instance of the ImapMessageCollection class.
|
ImapMessageInfoCollection(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ImapMessageInfo> messageInfoEn)
Initializes a new instance of the ImapMessageCollection class
|
Modifier and Type | Method and Description |
---|---|
void |
add_ImapMessageInfoCollection_New(ImapMessageInfo item)
Adds the ImapMessageInfo to the ImapMessageCollection.
|
Integer |
getLastItemOffset()
Deprecated.
|
boolean |
getLastPage()
Deprecated.
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
|
Integer |
getTotalCount()
Deprecated.
|
void |
insert_ImapMessageInfoCollection_New(int index,
ImapMessageInfo item)
Insert the specified ImapMessagInfo object at the specified index.
|
boolean |
remove_ImapMessageInfoCollection_New(ImapMessageInfo item)
Remove specifed ImapMessageInfo object from this collection.
|
void |
removeAt(int index)
Remove a ImapMessageInfo in specified index from this collection.
|
static ImapMessageInfo[] |
to_(ImapMessageInfoCollection messageInfoCol)
Converts collection of ImapMessageInfo to array
|
static ImapMessageInfoCollection |
to_ImapMessageInfoCollection(ImapMessageInfo[] messageInfoArr)
Converts array of ImapMessageInfo to collection
|
static ImapMessageInfoCollection |
to_ImapMessageInfoCollection(com.aspose.ms.System.Collections.Generic.List<ImapMessageInfo> messageInfoLst)
Converts list of ImapMessageInfo to collection
|
static com.aspose.ms.System.Collections.Generic.List<ImapMessageInfo> |
to_List(ImapMessageInfoCollection messageInfoCol)
Converts collection of ImapMessageInfo to list
|
public ImapMessageInfoCollection()
Initializes a new instance of the ImapMessageCollection class.
public ImapMessageInfoCollection(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ImapMessageInfo> messageInfoEn)
Initializes a new instance of the ImapMessageCollection class
messageInfoEn
- initial valuepublic void add_ImapMessageInfoCollection_New(ImapMessageInfo item)
Adds the ImapMessageInfo to the ImapMessageCollection.
item
- The ImapMessageInfo to be added.public boolean remove_ImapMessageInfoCollection_New(ImapMessageInfo item)
Remove specifed ImapMessageInfo object from this collection.
item
- The ImapMessageInfo object to be remove.public void removeAt(int index)
Remove a ImapMessageInfo in specified index from this collection.
removeAt
in interface com.aspose.ms.System.Collections.Generic.IGenericList<ImapMessageInfo>
removeAt
in class com.aspose.ms.System.Collections.ObjectModel.Collection<ImapMessageInfo>
index
- The index of the message to be remove.public void insert_ImapMessageInfoCollection_New(int index, ImapMessageInfo item)
Insert the specified ImapMessagInfo object at the specified index.
index
- The index that the specified object will be inserted into.item
- The ImapMessagInfo object to be inserted.public static ImapMessageInfo[] to_(ImapMessageInfoCollection messageInfoCol)
Converts collection of ImapMessageInfo to array
messageInfoCol
- Collection of ImapMessageInfo to convertpublic static ImapMessageInfoCollection to_ImapMessageInfoCollection(ImapMessageInfo[] messageInfoArr)
Converts array of ImapMessageInfo to collection
messageInfoArr
- Array of ImapMessageInfo to convertpublic static com.aspose.ms.System.Collections.Generic.List<ImapMessageInfo> to_List(ImapMessageInfoCollection messageInfoCol)
Converts collection of ImapMessageInfo to list
messageInfoCol
- Collection of ImapMessageInfo to convertpublic static ImapMessageInfoCollection to_ImapMessageInfoCollection(com.aspose.ms.System.Collections.Generic.List<ImapMessageInfo> messageInfoLst)
Converts list of ImapMessageInfo to collection
messageInfoLst
- List of ImapMessageInfo to convertpublic Object getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
getSyncRoot
in class com.aspose.ms.System.Collections.ObjectModel.Collection<ImapMessageInfo>
@Deprecated public Integer getLastItemOffset()
Gets offset in view of last item in list Uses for operations with paging.
@Deprecated public boolean getLastPage()
Indicates whether current page is last page in view. Uses for operations with paging.
@Deprecated public Integer getTotalCount()
Gets total count of items in view Uses for operations with paging.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.