共用方式為


SwitchParameter.ToBool Method

Definition

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 -> bool
Public Function ToBool () As Boolean

Returns

The boolean equivalent of the SwitchParameter.

Applies to