Code Snippets are small re-usable pieces of code. They show you how to use a particular item like an object, property, method or event in your script. It is not possible to execute snippets directly. You can find Code Snippets in every object, property, method or event that requires additional explanation.
In the Document Link, all examples are written in Visual Basic.