Skip to content

Latest commit

 

History

History
79 lines (68 loc) · 1.74 KB

File metadata and controls

79 lines (68 loc) · 1.74 KB
title GetInterfaceClasses | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
devlang-cpp
ms.tgt_pltfrm
ms.topic article
f1_keywords
GetInterfaceClasses
dev_langs
C++
helpviewer_keywords
GetInterfaceClasses method
ms.assetid 712c112f-b4ff-43c4-ad49-c4f4c13c48bd
caps.latest.revision 7
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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 xref:Microsoft.VisualStudio.VCCodeModel.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