Share via


GetInterfaceClasses

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at GetInterfaceClasses.

Returns the VCCodeClass object associated with an interface.

Syntax

  
      function GetInterfaceClasses(   
   strInterface,   
   oProject,   
   aryClasses    
);  

Parameters

strInterface
The name of the interface containing the class objects.

oProject
The selected project.

aryClasses
[out] An array of class objects in the interface.

Return Value

The VCCodeClass object associated with an interface.

Remarks

Call this function to retrieve the classes associated with an interface.

Example

var aryClasses = new Array();  
GetInterfaceClasses(oInterface.Name, selProj, aryClasses);  

See Also

Customizing C++ Wizards with Common JScript Functions
JScript Functions for C++ Wizards
Creating a Custom Wizard
Designing a Wizard
GetInterfaceType