InsertIntoFunction

InsertIntoFunction

 

Used by AddATLSupportToProject to insert code into InitInstance.


      function InsertIntoFunction( 
   oFunction, 
   strSearchString, 
   nStartLine, 
   nEndLine, 
   bInsideIfBlock  
);

oFunction

The function object into which the insertion is made.

strSearchString

The string to find to determine insertion point.

nStartLine

The starting line to pass to GetCodeForInitInstance.

nEndLine

Ending line to pass to GetCodeForInitInstance.

bInsideIfBlock

Indicates whether the insertion is into a function block.

true if successful; otherwise false.

Show:
© 2016 Microsoft