Gets a nullable Boolean value that indicates whether any compatibility switches are set, and if so, whether the specified compatibility switch is set.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.String
The compatibility switch to test.
This method tests whether the current application domain reverses breaking changes that were introduced in Silverlight 4. The following table provides examples of compatibility switches that can be set to restore the behavior of earlier versions.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.