ContractOptionAttribute Constructor (String, String, Boolean)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the ContractOptionAttribute class by using the provided category, setting, and enable/disable value.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Sub New ( _ category As String, _ setting As String, _ enabled As Boolean _ )
Parameters
- category
- Type: System.String
The category for the option to be set.
- setting
- Type: System.String
The option setting.
- enabled
- Type: System.Boolean
true to enable the option; false to disable the option.
Show: