Replacement Variables for Stub Generation
132
Appendix A - Template Replacement Variables
Replacement Variables for Stub Generation Templates
The replacement variables for the stub generation templates can be logically divided
into the following categories:
s
Variables used only in Visual Basic and COM
s
Variables used only with Enterprise JavaBeans (EJBs)
Replacement Variables for the COM/VB Stub Templates
The following table lists the replacement variables that are used in the COM/VB
templates for stub generation:
Variable
Description
Template
<<!VBClassName!>>
Class name for the stub.
Example:
Account
VBCOMClass
FunctionBody
PropertyGetBody
PropertyLetBody
SubBody.template
<<!ImplementsBlock!>>
Adds code to the top of the CLS file
listing the interfaces implemented by the
coclass.
VBCOMClass
<<!MethodBodyTemplate!>>
Causes the stub generator to use one of
the seven method body templates to
generate the declaration and definition
for each public method in the stub. For
VBCOMClass
<<!Modifier!>>
Access modifier for the method. Will
evaluate to either "Public" or "Private."
FunctionBody
FunctionBodyWith
outLookUp
PropertyGetBody
PropertyGetBodyW
ithoutLookUp
PropertyLetBody
SubBody
SubBodyWithoutLo
okUp