Now that you have created a new module, you can create the custom
visual snippet.
The custom visual snippet will be named IsListEmpty and it will
be used to determine whether an input list is empty.
To create the custom visual snippet:
- From the File menu, select New
> Other. The New wizard opens.
- In the Wizards list, expand Business
Integration and select Custom Visual Snippet as
shown in the following figure:

- Click Next. The New Custom Visual Snippet
wizard opens.
- In the Module field, ensure that your new
module NewsModule is selected.
- In the Name field, type IsListEmpty.
- In the Category field, select logic.
This is the category that most closely describes the intended purpose of your
new custom visual snippet. After you select logic as
your category, the Namespace field is automatically
set to http://NewsModule/logic and the Folder field
is automatically set to logic, as shown in the following
figure:

- Click Finish. In the Visual Snippets view,
the new IsListEmpty custom visual snippet is added
to the logic folder and the snippet opens in the visual
snippet editor, as shown in the following figure:
