2.7.2.4 shared

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

This clause shares variables that appear in the variable-list among all the threads in a team. All threads within a team access the same storage area for shared variables.

The syntax of the shared clause is as follows:

shared
(variable-list)