xlsaddinfunctionscollection-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.collections
class xlsaddinfunctionscollection

java.lang.object
  extended by com.spire.ms.system.collections.collectionbase
      extended by 
          extended by com.spire.xls.core.spreadsheet.collections.xlsaddinfunctionscollection
all implemented interfaces:
com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, iaddinfunctions, java.lang.iterable
direct known subclasses:
addinfunctionscollection

public class xlsaddinfunctionscollection
extends
implements iaddinfunctions

summary description for addinfunctionscollection.


constructor summary
xlsaddinfunctionscollection(java.lang.object parent)
           
 
method summary
 int add(java.lang.string functionname)
          adds new add-in function.
 int add(java.lang.string filename, java.lang.string functionname)
          adds new add-in function.
 boolean contains(java.lang.string workbookname)
          indicates whether collection contains workbook with specified name.
 iaddinfunction get(int index)
           
 void removeat(int index)
          removes add-in function with specified index.
 
methods inherited from interface com.spire.xls.core.iaddinfunctions
size
 
constructor detail

xlsaddinfunctionscollection

public xlsaddinfunctionscollection(java.lang.object parent)
method detail

get

public iaddinfunction get(int index)
specified by:
get in interface iaddinfunctions

add

public int add(java.lang.string filename,
               java.lang.string functionname)
adds new add-in function.
specified by:
add in interface iaddinfunctions
parameters:
filename - file name.
functionname - function name.
returns:
index of the new function.
throws:
com.spire.ms.system.exception

add

public int add(java.lang.string functionname)
adds new add-in function.
specified by:
add in interface iaddinfunctions
parameters:
functionname - function to add.
returns:
index of the added function.

removeat

public void removeat(int index)
removes add-in function with specified index.
overrides:
removeat in class com.spire.ms.system.collections.collectionbase
parameters:
index - item index to remove.

contains

public boolean contains(java.lang.string workbookname)
indicates whether collection contains workbook with specified name.
parameters:
workbookname - name to check.
returns:
true if collections contains book with specified name.


网站地图