SwitchParameter.ToBool Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Explicit method to convert a SwitchParameter to a boolean value.
public:
 bool ToBool();public:
 bool ToBool();bool ToBool();public bool ToBool();member this.ToBool : unit -> boolPublic Function ToBool () As BooleanReturns
The boolean equivalent of the SwitchParameter.