GetMemberfunction
Call this function to get a function object based on the given name.
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
Tasks
Concepts
Customizing C++ Wizards with Common JScript Functions