asposecells.api

Class VbaProjectReferenceCollection

Represents all referneces of VBA project.

Property Getters/Setters Summary
methodgetCount()
methodget(i)
Get the reference in the list by the index.
 
Method Summary
methodadd(value)
Reserved for internal use.
methodaddControlRefrernce(name, libid, twiddledlibid, extendedLibid)
Add a reference to a twiddled type library and its extended type library.
methodaddProjectRefrernce(name, absoluteLibid, relativeLibid)
Add a reference to an external VBA project.
methodaddRegisteredReference(name, libid)
Add a reference to an Automation type library.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
 

    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
    • Method Detail

      • addRegisteredReference

        int addRegisteredReference(name, libid)
        Add a reference to an Automation type library.
        Parameters:
        name: String - The name of reference.
        libid: String - The identifier of an Automation type library.
        Returns:
      • addControlRefrernce

        int addControlRefrernce(name, libid, twiddledlibid, extendedLibid)
        Add a reference to a twiddled type library and its extended type library.
        Parameters:
        name: String - The name of reference.
        libid: String - The identifier of an Automation type library.
        twiddledlibid: String - The identifier of a twiddled type library
        extendedLibid: String - The identifier of an extended type library
        Returns:
      • addProjectRefrernce

        int addProjectRefrernce(name, absoluteLibid, relativeLibid)
        Add a reference to an external VBA project.
        Parameters:
        name: String - The name of reference.
        absoluteLibid: String - The referenced VBA project’s identifier with an absolute path.
        relativeLibid: String - The referenced VBA project’s identifier with an relative path.
        Returns:
      • clear

         clear()
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
      • get

        Object get(index)
        Reserved for internal use.
      • contains

        boolean contains(value)
        Reserved for internal use.
      • add

        int add(value)
        Reserved for internal use.
      • indexOf

        int indexOf(value)
        Reserved for internal use.