GetMemberfunction

GetMemberfunction

 

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


      function GetMemberfunction( 
   oClass, 
   strFuncName, 
   oProj  
);

oClass

The selected class object.

strFuncName

The function name to retrieve.

oProj

The selected project.

The function indicated by strFuncName.

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);
Show:
© 2016 Microsoft