aspose.cells

Class VbaProjectReferenceCollection

Represents all referneces of VBA project.

Property Getters/Setters Summary
functiongetCount()
functionget(i)
Get the reference in the list by the index.
 
Method Summary
functionadd(value)
Reserved for internal use.
functionaddControlRefrernce(name, libid, twiddledlibid, extendedLibid)
Add a reference to a twiddled type library and its extended type library.
functionaddProjectRefrernce(name, absoluteLibid, relativeLibid)
Add a reference to an external VBA project.
functionaddRegisteredReference(name, libid)
Add a reference to an Automation type library.
functionclear()
functioncontains(value)
Reserved for internal use.
functionget(index)
Reserved for internal use.
functionindexOf(value)
Reserved for internal use.
functioniterator()
functionremoveAt(index)
 

    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
      • get : VbaProjectReference 

        function get(i)
        
        Get the reference in the list by the index.
        Parameters:
        i - The index.
        Returns:
    • Method Detail

      • addRegisteredReference

        function 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

        function 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

        function 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

        function clear()
      • removeAt

        function removeAt(index)
      • iterator

        function iterator()
      • get

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

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

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

        function indexOf(value)
        Reserved for internal use.