GetDefaultOptionValue Method
GetDefaultOptionValue(String)
Return the default value for the given option
.
C#
public static OptionValue GetDefaultOptionValue(string option)
Parameters
Type | Name | Description |
---|---|---|
System.String | option |
Returns
An OptionValue
enum that specifies the default value for an
option as either True
, False
, NotSupported
, or
Unknown
.
Remarks
If an option is listed in the Options
property, it will be true
or false
. If it is not
listed, it will be a default value. The default value can be either
True, False, or Not Supported. This method returns the default value
for an option.
There is one more value it could be, Unknown. This happens when the option is a string not in the list here in this class.
Note that this method is not returning the current value of the given
option
, only what its default value is.