Specifies that your managed application process should have a single copy of a particular global variable, static member variable, or static local variable shared across all application domains in the process. This was primarily intended to be used when compiling with /clr:pure, which is now deprecated and will be removed in a future version of the compiler. When compiling with /clr, global and static variables are per process by default (do not need to use
Only a global variable, a static member variable, or a static local variable of native type can be marked with
process is only valid when compiling with /clr.
If you want each application domain to have its own copy of a global variable, use appdomain.
See Application Domains and Visual C++ for more information.