Description
The Add method lets you add an existing syntax element to the syntax collection.
Declaration
CollectionSyntax.Add(Value)
| Value | [in] | Required | An AssignSyntax, IfSyntax, InvokeSyntax or VarDefSyntax object |
|
| Result | None | |||
Applies To
The method is applied to the following object:
Parameters
The method has the following parameter:
Value
Specifies the syntax element to be added to the collection. Value can be one of the following objects:
Result Value
None.
See Also
Generating Statement Collections
AssignSyntax Object
IfSyntax Object
InvokeSyntax Object
VarDefSyntax Object
