aspose.diagram
Class UserCollection

User collection.

Property Getters/Setters Summary
functiongetCount()
           Gets the number of elements actually contained in the collection.
functionget(index)
           Gets the element at the specified index.
 
Method Summary
functionadd(item)
           Add the User object in the collection.
functionclear()→ inherited from Collection
           Removes all elements from collection.
functiongetUser(ID)
           Gets the element at the specified ID.
functiongetUser(name)
           Gets the element at the specified ID.
functionisExist(index)→ inherited from Collection
           Is exist item in the collection.
functioniterator()→ inherited from Collection
           Supports a simple iteration over a nongeneric collection.
functionremove(item)
           Remove the User object from the collection.
 

Property Getters/Setters Detail

getCount : Number 

function getCount()
Gets the number of elements actually contained in the collection.

get : User 

function get(index)
Gets the element at the specified index.
Parameters:
index -
Returns:

Method Detail

add

function add(item)
Add the User object in the collection.
Returns:

remove

function remove(item)
Remove the User object from the collection.

getUser

function getUser(name)
Gets the element at the specified ID.
Parameters:
name: String -
Returns:

getUser

function getUser(ID)
Gets the element at the specified ID.
Parameters:
ID: Number -
Returns:

iterator

function iterator()
Supports a simple iteration over a nongeneric collection.
Returns:

isExist

function isExist(index)
Is exist item in the collection.
Parameters:
index: Number - index of element.
Returns:

clear

function clear()
Removes all elements from collection.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.