Share via


GetMemberfunction

 

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

Call this function to get a function object based on the given name.

Syntax

  
      function GetMemberfunction(   
   oClass,   
   strFuncName,   
   oProj    
);  

Parameters

oClass
The selected class object.

strFuncName
The function name to retrieve.

oProj
The selected project.

Return Value

The function indicated by strFuncName.

Remarks

Call this function to get a function object based on the given name. See Functions in the Visual C++ Code Model for more information.

Example

// Gets the function ExitInstance from the class CWinApp in the   
// current project.  
var oExitInstance = GetMemberFunction(oCWinApp, "ExitInstance", oProj);  

See Also

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