aspose.diagram
Class DataConnectionCollection

DataConnection collection.

Property Getters/Setters Summary
functiongetCount()
           Gets the number of elements actually contained in the collection.
functiongetNextID()
functionsetNextID(value)
           The next available ID for new connections.
functionget(index)
           Gets the element at the specified index.
 
Method Summary
functionadd(dataConnection)
           Add the dataConnection in the collection.
functionclear()→ inherited from Collection
           Removes all elements from collection.
functiongetDataConnection(ID)
           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(dataConnection)
           Remove the dataConnection from the collection.
 

Property Getters/Setters Detail

getNextID/setNextID : long 

function getNextID() / function setNextID(value)
The next available ID for new connections.

getCount : Number 

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

get : DataConnection 

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

Method Detail

add

function add(dataConnection)
Add the dataConnection in the collection.
Parameters:
dataConnection: DataConnection -
Returns:

remove

function remove(dataConnection)
Remove the dataConnection from the collection.
Parameters:
dataConnection: DataConnection -

getDataConnection

function getDataConnection(ID)
Gets the element at the specified ID.
Parameters:
ID: long - ID of DataConnectionlong.
Returns:
DataConnection DataConnection.

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.