PreferenceBagGetBoolPref Method |
Return a bool preference.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public bool GetBoolPref(
string sPrefName,
bool bDefault
)
Public Function GetBoolPref (
sPrefName As String,
bDefault As Boolean
) As Boolean
public:
virtual bool GetBoolPref(
String^ sPrefName,
bool bDefault
) sealed
Parameters
- sPrefName
- Type: SystemString
The Preference name - bDefault
- Type: SystemBoolean
The default value to return if the specified preference does not exist
Return Value
Type:
BooleanThe boolean value of the Preference, or the default value
Implements
IFiddlerPreferencesGetBoolPref(String, Boolean)See Also